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

 

For example

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

0 0 vote
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments