removeCharacters
Modified on Wed, 16 Aug 2023
Description
Remove a list of characters from a string
Syntax
removeCharacters(text, charactersToRemove)
Parameters
Input Parameter | Type | Description |
---|---|---|
text | string | String to process |
charactersToRemove | Array | List of characters to be removed |
Return value
Type |
---|
string |
Sample
Example | Result | Description |
---|---|---|
removeCharacters("Invoice amount : $[123.45]", ["$, "[", "]"]) | "Invoice amount : 123.45" | Remove given set of characters |
To view all the String functions, click here.
See Also
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article