charat() Function

Returns the character at given index within specified string.

Syntax

charat( text, index )

text: (Text) The text string to find the character.

index: (Number) The integer index position of the character, starting at one (1).

Returns

Text

Examples

You can experiment with this function in the test box below.

Test Input

charat("string",2) returns t

FEEDBACK