java tutorial - Java Strings charAt() method - java programming - learn java - java basics - java for beginners
Description
Java - The charAt () method — returns a character at the specified line index. The string indices in Java start from scratch.
Syntax
The syntax of the method is:
Options
Detailed information about the parameters:
- index is the index of the character to retrieve from the string array.
Return value
- In Java, charAt () returns a character from the string array at the specified index.