For the purposes of the PROMOTIC system, it is more usefull to use the method: Pm.StringSub.
s = Left(string, length)
|string||(String) Text string from which the leftmost characters are returned.|
|length||(Integer) Numeric expression indicating how many characters to return. If 0, then a empty string ("") is returned. If greater than or equal to the string length, then the entire string is returned.|
Dim sString, LeftString
sString = "VBScript"
LeftString = Left(sString, 3) 'LeftString contains "VBS"