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

Left Justify Fast Function
Formats Justifies Class

Public Function LeftJustifyFast( _
      ByRef vValue As String _
    , ByVal vWidth As Long _
    ) As String

Left justify a string.
Undersized strings are right-padded with spaces to length vWidth.
Oversized strings are left as is.
"Fast" function has restrictive argument types to avoid argument fix-up code.

Examples:
    LeftJustifyFast("This is a test.", 20) = "This is a test.     "
    LeftJustifyFast("This is a test.", 10) = "This is a test."
See also:
    LeftJustifyFillFast Function
    LeftJustifyTruncateFast Function
    LeftJustifyTruncateFillFast Function
    RightJustifyFast Function
vValue: String which is to be left-justified.
vWidth: Length to which the string vValue will be space-filled if its length is less than vWidth.

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