Java trim Method

The Java trim Method is one of the String Methods which is useful to remove the empty spaces from both the Right-hand side and Left-hand side of a string. In this article, we will show how to use Java String trim with an example. The basic syntax of the Java string trim is shown below. … Read more

Java toUpperCase Method

The Java toUpperCase Method is one of the String Methods which helps convert the given string into Uppercase letters. This article will show how to use String toUpperCase with an example. The syntax of it is as shown below. Java toUpperCase Syntax Java provides two different methods to convert the specified string into Uppercase letters. … Read more

Java toLowerCase Method

The Java toLowerCase Method is one of the String Methods, which is useful to convert the given string into Lowercase letters. This article will show how to use Java String toLowerCase with an example. Before we get into the example, the basic syntax of the Java toLowerCase is as shown below. Java Programming provides two … Read more

Java String concat Method

The Java concat Method is one of the String Methods, which is to join the user-specified string to the end of the existing one. This article will show how to use the Java String concat method with an example and the basic syntax is shown below. public String concat(String str); // It will return String //In … Read more

Java codePointCount Method

The Java codePointCount method is one of the String Methods, which is to count the number of Unicode points within the specified text range. In this article, we will show how to use codePointCount in Java Programming language with an example. The basic syntax of the codePointCount is as shown below. public int codePointCount(int Starting_Index, … Read more

Java codePointBefore Method

The Java codePointBefore method is one of the String Methods, which is to return the Unicode of the Character before the specified index position. In this article, we will show how to use codePointBefore method in Java Programming language with an example. The index position will start from 0, Not 1. codePointBefore Syntax The basic … Read more

Java codePointAt Method

The Java codePointAt method is one of the String Methods, which is to return the Unicode of the character at the specified index position. This article will show how to use the codePointAt method in Java Programming language with an example. The index position of the Function will start from 0, Not 1. Java codePointAt … Read more

Java charAt Method

The Java charAt method is one of the String Methods, which is to return the character at the specified index position. This article will show how to write string charAt in Java Programming language with an example. Java charAt Syntax The basic syntax of the string charAt in Java Programming language is as shown below. … Read more

Java ulp Function

The Java ulp Function is one of the Math functions, which is to return the size of an ulp of the argument. An ulp of a float value is the positive distance between the given value and the next value that is larger in magnitude. In this article, we will show how to use Math.ulp function … Read more

Java getExponent Function

The Java getExponent Function is one of the Math Library functions, which is to return the unbiased exponent used in the representation of double or float value. In this article, we will show how to use Java Math.getExponent function with an example. Java getExponent Syntax The basic syntax of the Math.getExponent Function in Java Programming … Read more