LTrim
- Last UpdatedOct 04, 2024
- 1 minute read
- PI System
- PI Server 2018
- PI Server
Remove the leading blanks from a string.
Syntax
LTrim(s1)
Arguments
-
s1
string
Returns
A string with leading blanks removed
Exceptions
If s1 is not a string, an error value is returned.
Example
-
LTrim(" String")
[Returns "String"]
-
LTrim("String ")
[Returns "String "]