Command string.replaceat

The command string.replaceat is used to replace a specific part of the string.


  1. delimiter [string]
    String delimiter.
  2. element_index [integer]
    Delimiter's position, with 0 being the first.
  3. new_element [integer]
    New text.
  4. string [string]
    Text that will be separated.
  5. variablereturn [string]
    Variable that will store the return of the command.


In the example above the command string.replaceat will separate the string stored in the variable sText and replace the contents of the second part, defined by element_index 1, which is POSXML Application to POSXML.