
Java – StringBuffer class
In this article, we will discuss StringBuffer class and its important methods. This class is helpful for string handling purposes. Q) What is the need Read More
In this article, we will discuss StringBuffer class and its important methods. This class is helpful for string handling purposes. Q) What is the need Read More
In this article, we will discuss String’s valueOf() method which converts primitive data-types & objects into its equivalent string representation 1. String’s valueOf() method: This String method Read More
In this article, we will discuss String’s trim() method which is used remove both leading and trailing white-spaces 1. String’s trim() method: This String method is used to Read More
In this article, we will discuss how to convert each individual characters inside a String into a uppercase character using String’s toUpperCase() method 1. String’s Read More
In this article, we will discuss String’s toString() method which is used to convert any object into string format, provided an already overridden toString() is present for Read More
In this article, we will discuss how to convert each individual characters inside a String into a lowercase character using String’s toLowerCase() method 1. String’s Read More
In this article, we will discuss how to convert String into char[] array using String’s toCharArray() method 1. String’s toCharArray() method: This String method is Read More
In this article, we will discuss about how to get substring (partial string) using String’s substring() method 1. String’s substring() method: This String method returns Read More
In this article, we will check or test whether string starts with specified prefix or NOT using String’s startsWith() method 1. String’s startsWith() method: This Read More
In this article, we will discuss how to split strings using specified delimiter in String’s split() method 1. String’s split() method: This String method is Read More
In this article, we will discuss different variants of replace methods to replace character/substring with another new string using String’s replace() method 1. String’s replace() Read More
In this article, we will discuss regionMatches() method of String class which is used to check whether two substrings are same or NOT 1. String’s regionMatches() method: Read More
In this article, we will discuss matches() method of String class which is used to compare invoking string with the specified regex 1. String’s matches() method: This Read More
In this article, we will discuss how to get length of the String using String’s length() method 1. String’s length() method: This String method is Read More
In this article, we will discuss different variants of last index of methods to get last occurrence of character/substring using String’s lastIndexOf() method 1. String’s Read More
In this article, we will discuss how to join all strings using delimiter specified in the String’s join() method 1. String’s join() method: This String Read More
In this article, we will discuss how to check whether string is empty or NOT using String’s isEmpty() method 1. String’s isEmpty() method: This String Read More
In this article, we will discuss intern() method of String class which is used to return interned string 1. String’s intern() method: This String method is used Read More
In this article, we will discuss how to convert List into Map in Java 8 Already, in the last article we have discussed how to Read More
In this article, we will discuss how to convert List into Map in Java 1. List v/s Map: Before starting with List to Map conversion, Read More