Skip to main content
CloudStudio

StringClean

The StringClean function cleans a character string by removing all unwanted characters.

Definition

StringClean(texto, v1, v2, ..., v3)

Parameters

NameDescriptionData type
textoThe first parameter refers to the text string to be cleaned.string
v1...vnSet 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).

Last updated on

On this page