In the PROMOTIC system it is better to use the Pm.StringSub method.
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"