Try using Split function.
Example:
Example:
Code:
Dim StrMsg, MyArray
StrMsg = "$2000"
MyArray = Split(StrMsg, "$", -1, 1)
' now
' MyArray(0) contains ""
' MyArray(1) will contain 2000
Msgbox MyArray(1)