Returns a String containing a specified number of characters from the left side of a string.
Syntax:
StrLibObject.StrLeft(Expression As String, Length As Long)
The StrLeft Method (StrLib Object) syntax has these parts:
| Part |
Description |
| StrLibObject |
An object expression that evaluates to a StrLib object. |
| Expression |
(Required). String expression from which the leftmost characters are returned. |
| Length |
(Required). Long Integer value. Numeric expression indicating how many characters to return. |
Remarks:
To determine the number of characters in string, use the StrLen function.