
Java – StringBuffer lastIndexOf() method
In this article, we will discuss StringBuffer’s lastIndexOf() method which returns last occurrence of specified sub-string 1. StringBuffer’s lastIndexOf() method: This method is used to get Read More
In this article, we will discuss StringBuffer’s lastIndexOf() method which returns last occurrence of specified sub-string 1. StringBuffer’s lastIndexOf() method: This method is used to get Read More
In this article, we will discuss StringBuffer’s insert() method which is used to insert specified argument at the specified offset (or say starting from specified Read More
In this article, we will discuss StringBuffer’s indexOf() method which returns first occurrence of specified sub-string 1. StringBuffer’s indexOf() method: This method is used to get Read More
In this article, we will discuss StringBuffer’s ensureCapacity() method which ensures capacity is at least equal to specified minimum capacity 1. StringBuffer’s ensureCapacity(int minCapacity) method: Read More
In this article, we will discuss StringBuffer’s deleteCharAt() method which deletes a char-value at specified index-position 1. StringBuffer’s deleteCharAt() method: This method deletes single character Read More
In this article, we will discuss StringBuffer’s delete() method which deletes sub-string starting from specified start index-position to end index-position 1. StringBuffer’s delete() method: This Read More
In this article, we will discuss StringBuffer’s charAt() method which returns character at a specified index-position 1. String’s charAt(int index) method: This method returns single Read More
In this article, we will discuss StringBuffer’s capacity() method which returns the current capacity 1. StringBuffer’s capacity() method: This method returns current capacity of StringBuffer Read More
In this article, we will discuss StringBuffer’s append() method which internally converts respective data-type into String format first and then append to buffer at the 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