charAt() String Example

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 charAt() String. charAt(int index) extracts a single character from a string. Following is the method signature of …

charAt() String Example Read More »