lang
-
StringBuffer
StringBuffer append method
This is an example of how to use append method of StringBuffer. A StringBuffer is a thread-safe, mutable sequence of…
Read More » -
String
Compare Strings
In this example we shall show you how to compare Strings. We are using the methods that the String class…
Read More » -
String
String replace method
With this example we are going to demonstrate how to use the replace method of String class. The String class…
Read More » -
String
String trim method
This is an example of how to use the trim method of String class. The String class represents character strings.…
Read More » -
String
Java Convert String toLowerCase
In this example, we shall show you how to convert a String toLowerCase in Java. The String class represents character…
Read More » -
String
Java Convert String toUpperCase
With this example, we are going to demonstrate how to convert a String toUpperCase in Java. The String class represents…
Read More » -
String
String split method
This is an example of how to split a String. The String class represents character strings. All string literals in…
Read More » -
String
String startsWith method
In this example we shall show you how to use the startsWith method of String class. The String class represents…
Read More » -
String
String endsWith method
With this example we are going to demonstrate how to use the endsWith method of String. The String class represents…
Read More » -
String
Search String with indexOf method
This is an example of how to search a String using the indexOf method of String class. The String class…
Read More »