Description

Allows you access to the individual characters of a String.

Syntax

char thisChar = string1[n]

Parameters

char thisChar - a character variable

string1 - a String variable

int n - a numeric variable

Returns

The nth char of the String. Same as charAt().

See also

Guide Home