<-- Previous || Up || Next -->

L Trim In Place Function
Character Types Class

Public Function LTrimInPlace( _
    ByRef rValue As Variant _
    ) As Variant

"Left Trim In Place"
Remove the leading spaces from the string argument rValue and also return that value.

Example:
    Assuming
       Dim S As String
       S = "  This is a sample.  "
    for example
       LTrimInPlace(S) = "This is a sample.  "
    leaves
       S = "This is a sample.  "
See also:
    RTrimInPlace Function
    TrimInPlace Function
    LTrim Function (Visual Basic)
rValue: String argument which is to have its leading space characters removed. Function also returns the "left-trimmed" value of rValue.
Note: Function only works for characters in the ANSI Windows character set because it uses the built-in Visual Basic LTrim() function.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.