LTrim: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 25: | Line 25: | ||
== Related Items == | == Related Items == | ||
[[rtrim| | [[rtrim|RTrim]], [[trim|Trim]] | ||
[[Category:Language Reference]] | [[Category:Language Reference]] | ||
Revision as of 01:17, 24 August 2012
LTrim(string)
Description
LTrim returns a string with all leading spaces removed. The required parameter, string, is any valid string expression.
Example
Rem LTrim Example
'LTrim trims all leading spaces
Dim Spacey
Spacey = " K"
Print "(" & Spacey & ")"
Print "(" & LTrim(Spacey) & ")"
Output
( K) (K)