Application icon

Remove/Insert

This function will remove a counted number of characters at a specified index from the beginning or end of a field or named variable. It will optionally then insert a string at a specified index from the beginning or end of the modified item. If you do not wish to remove characters before inserting, set the number of remove characters to 0. If you do not wish to insert anything, leave the then insert field blank. Please note that the indicies start from 0 not 1. When from the end is specified, the last character is at index 0, the next to last character is at index 1, etc. When inserting from the beginning, characters get inserted at the specified index. When inserting from the end, characters get inserted after the specified index.

If you want to remove the first five characters, specify:
Remove 5 characters at index 0 from the beginning
If you want to remove the two characters before the last character, specify:
Remove 2 characters at index 2 from the end
If you want to insert after the first character
Insert text at index 1 from the beginning
If you want to append text
Insert text at index 0 from the end
If you want to insert text immediately before the last character
Insert text at index 1 from the end

The supplied text fields may contain any of the escape sequences described in Escape Sequences.