At

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

Field Definition Type Required
text Input string value. String TRUE
position Location of the character, where 0 is the first position. Number TRUE

Output

Field Definition Type
character Character at a specified location in the input string value. String

Example

For the text input of Hello, World!:

  • If position is 0, then character returns H.

  • If position is 1, then character returns e.

  • If position is 5, then character returns ,.

  • If position is 12, then character returns !.

Related topics

Functions in Workflows

Workflow elements