Command string.elementat

The command string.elementat is used to separate a string into parts using a delimiter.

Parameters

  1. delimiter [string]
    String delimiter.
  2. element_index [integer]
    Delimiter's position, with 0 being the first.
  3. string [string]
    Text to be separated.
  4. variablereturn [string]
    Variable that will store the converted value.

Example


In the example above the text of the variable sText has been separated using the command string.elementat.

The numbers (stringvariable) have been converted to integervariable and you can use the command display to set the row and column.