Get Char at Position

Click to copy

Returns a character of a string at a given index (starting at 1).


Example: Get Char at Position(string: "lorem", position: 3) = "r".

Flow Connections

  • [Input] In - starts the block's execution.
  • [Output] Out - activates when the block has finished its execution.

Data Connections

  • [Input] String (string) - string to be evaluated.
  • [Input] Position (integer) - index of the character to be returned in the "String" data input (starting at 1).
  • [Output] Char (string) - result of the operation.