Cleantext function

This functions trims the special characters or characters from the string specified in the custom settings against “clean_chars” field. Go to Settings > Project Settings > Custom Settings > clean_chars
Just specify the characters here in the format as shown below:

Syntax: ${__cleantext(String)} String can be static or dynamic

Example: ${__cleantext(Test!@#)}

Here in the above snapshot actual string is Test@#! as defined in var1, after using this function its value become Test stored in var2.

Was this page helpful?