charAt()

charAt() — Returns the character at a specific index in the string.

char charAt(int index)
String message = "Java";
char letter = message.charAt(1); // Outputs 'a' (indexing starts from 0)

Related concepts

charAt()

charAt() — Structure map

Clickable & Draggable!

charAt() — Related pages: