Get Character (At) nth position

Table of Contents

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. 

Properties #

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

Output #

Output-location: Location to store the output data

Example #

Retrieving character from position 3 of string ‘Interactor’ would return ‘r’

Leave a Reply