Command string.charat

The command string.charat is used to return a character string from a specific position.

Parameters

  1. character_index [integer]
    Character position.
  2. string [string]
    String that will be manipulated.
  3. variablereturn [string]
    Variable that will store the return of the command.

Example


In the example above the command string.charat will get the 1st and 4th characters of the variable sText and store in variables sReturnC and sReturnW.