Tag: substring in java example

substring() StringBuffer Example

December 12, 2014 · 2 min read
**java.lang.StringBuffer** class comes with many methods to manipulate string. One of the methods is overloaded **substring()** method used to extract part of the characters present in the buffer.

substring() String Example

November 5, 2014 · 1 min read
###### Many methods exist in java.lang.String class used for different string manipulations like checking the availability of a character, to extract a part of a string or to convert a data type to string etc. The present method is substring() String.