Command string.elements

The command string.elements is used to return the number of elements found in a string based on a delimiter.

Parameters

  1. delimiter [string]
    String delimiter.
  2. string [string]
    Text to be separated.
  3. variablereturn [string]
    Variable that will store the result of the command.

Example


In the example above the command string.elements will separate the contents of the variable sText based on delimiter ; .

The variable iElements will be converted to stringvariable to be displayed on the display.