Command Reference : String and Date Function Reference
Syntax: @stripcommas(str)
Argument: string, str
Return: string
Returns the string str with leading and trailing commas stripped.
string ss1 = ", lettuce, tomato, onion, broccoli, "
ss1 = @stripcommas(ss1)
The first line creates the string SS1 and sets it equal to “, lettuce, tomato, onion, broccoli,”. The second command removes the commas resulting in: “lettuce, tomato, onion, broccoli”.
See also @stripparens and @stripquotes.