Return the single character at a specified position in a text input, where 0 is the first position. To get a whole segment rather than a single character, use the Text Segment function. To search for a single character, use Find.

Input Fields

  • text: The input text.

  • position: The location of the character, where 0 is the first position.

Output Fields

  • character: The character at the specified location in the input text.


If text is Hello, World!

If position is 0 then character is H

If position is 1 then character is e

If position is 5 then character is ,

If position is 12 then character is !

See Also


About the elements of Okta Workflows