Link Search Menu Expand Document

String At (Get character at nth position)

Retrieves the character at the nth position.

Returns the grapheme at the position of the given UTF-8 string. If position is greater than string length, then it returns nil.


String: Location of the string to retrieve the character from
At: Position of the character to retrieve (Position starts from 0)


Output-location: Location to store the output data


Retrieving character from position 3 of string Interactor would return r