StringClean
The StringClean function cleans a character string by removing all unwanted characters.
Definition
StringClean(texto, v1, v2, ..., v3)Parameters
| Name | Description | Data type |
|---|---|---|
| texto | The first parameter refers to the text string to be cleaned. | string |
| v1...vn | Set of values to be removed from the text string. The function is limited to a maximum of 40 parameters. | string |
Example
The following example shows the use of the StringClean function to remove brackets, parentheses, asterisks, dots, and the letter 's' from the text '(Dev.ic[e]s*)'
StringClean('(Dev.ic[e]s*)', '[', ']', '(', ')', '*', '.', 's')The result is "Device" (string).