Removes any whitespace from the right of a string
Device + Agent
Name | Type | Description |
---|---|---|
stringToStrip | String |
Any string
|
String — the truncated string
This function removes any space characters at the end of the passed string and returns the result as a new string, leaving the original intact.
Because rstrip() is implemented as a function, it does not use dot syntax.