LSet Function

Syntax:

LSet(S, var)

Group:

String

Description: Returns a string from S with only the Len chars.  

Parameters:

Parameter

Description

S

Return the left portion of this string value.

var

Return this many chars. If S is shorter than that then fill the remainder with spaces

Example:

Sub Main
   Debug.Print LSet("Hello",6) '"Hello "

End Sub