Difference between revisions of "LTRIM$"

From QB64 Wiki
Jump to navigation Jump to search
imported>Stylin
(updated to new blueprint, added descriptions and example)
imported>Stylin
(added STR$ to "see also" section, as per Clippy's request)
Line 22: Line 22:
{{PageSeeAlso}}
{{PageSeeAlso}}
* {{KW|RTRIM$}}
* {{KW|RTRIM$}}
* {{KW|STR$}}




{{PageNavigation}}
{{PageNavigation}}

Revision as of 22:58, 28 February 2010

The LTRIM$ function removes leading space characters from a STRING value.


Syntax

result = LTRIM$( value$ )


Description

  • value$ is the STRING value to trim.
  • If value$ contains no leading space characters, value$ is returned unchanged.


Examples

PRINT LTRIM$("some text") PRINT LTRIM$(" some text")

some text some text


See also



Navigation:
Keyword Reference - Alphabetical
Keyword Reference - By Usage
Main Wiki Page