Returns a String containing a specified number of characters from a string.
Syntax:
StrLibObject.StrMid(Expression As String, Start As Long, Length As Long)
The StrMid 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 characters are returned |
| Start |
(Required). Long integer value. Character position in string at which the part to be taken begins. |
| Length |
(Required). Long integer value. Number of characters to return. |
Remarks:
To determine the number of characters in string, use the Len function.