For the purposes of PROMOTIC system, it is more usefull to use the method: Pm.StringSub.
s = Mid(string, start[, length])
|string||(String) String expression from which characters are returned. If string contains Null, Null is returned.|
|start||(Integer) Character position in string at which the part to be taken begins. If it is greater than the number of characters in string, function returns a empty string (""). The first character has the position 1.|
|length||[optional] (Integer) The number of characters to return. If omitted or if there are fewer than length characters in the text (including the character at start position), all characters from the start position to the end of the string are returned.|
s = Mid("VB Script is fun!", 4, 6) 's contains "Script"