Remove the last n chars
This function removes the last n characters, while previous ones are copied to
the output as is.
Option | Description |
---|---|
Extra parameter |
This function requires an extra parameter.
The extra parameter is the number of characters to be removed. |
In the first example, the last two characters are removed.
In the second example, the last four characters are removed.
Input value | Extra parameter | Example of a masked value |
---|---|---|
Jack | "2" | Ja |
S1000D | "4" | S1 |