USA
800 691 9120
UK
01225 704844
We use cookies on our website to analyze website usage and to help secure the website against misuse. Advertising and functional cookies are not used in our site or our web application products.
By clicking “Accept Essential Cookies Only”, you consent to us placing these cookies.
Trim whitespace or a specific character from a string
Removes leading and trailing occurrences of the specified character from the source string. If no character is supplied, spaces are trimmed. Both the space character and the specified character are always trimmed.
| Parameter | Description |
|---|---|
| cmd | Source string to trim |
| Argument 0 | Character to trim (leave blank to trim spaces only) |
Trim "Source string to trim", "Character to trim (leave blank to trim spaces only)"