Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

LTRIM$ returns a string value without leading spaces (and CrLf's)

Syntax

LTRIM$(StrExpr, [Mode%=0,1])

Arguments

  • StrExpr is a string expression
  • Mode% determines the output of the expression:
  1. Mode%=0 or 0 or omitted: LTRIM$ returns a string value without leading spaces.
  2. Mode%=1: LTRIM$ returns a string value without leading spaces and CrLf's. (Carriage return Line feeds)
  3. String Expression returns a string value containing N characters, where N=>0. "NullString" is considered as a DETERMINED empty string.

Remarks

Examples

...

Example 2: Mode 1

LTRIM$("
Qnowledge Wageningen      ", 1)

returns 

"Qnowledge Wageningen"


 

Quick links: Function overview | Attribute overview | Constants overview | Dimensions overview