Command string.insertat

The command string.insertat is used to separate a string based on a delimiter and insert a substring in a set position.

Parameters

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

Example


In the example above the command string.insertat will insert the text Walk in the second element generated by the separation of the string whose index is 1.