RTrim
- Last UpdatedOct 04, 2024
- 1 minute read
- PI System
- PI Server 2024 R2
- PI Server
Trim trailing blanks from a string.
Syntax
RTrim(s1)
Arguments
-
s1
string
Returns
The source string with trailing blanks removed
Exceptions
If s1 is not a string, an error value is returned
Example
-
RTrim("String ")
[Returns "String"]
-
RTrim(" String")
[Returns " String"]