Hi.
I've got a problem with SubString. I'm trying to send over a few variables, and i separate them with !. The code looks like this.
returndata is the string witch holds the variables.
A starts at 0, and then check after a ! in returndata.
When I run this, I get an error.
Index and length must refer to a location within the string.
I've got a problem with SubString. I'm trying to send over a few variables, and i separate them with !. The code looks like this.
Code:
While Not returndata.Substring(A, 1) = "!"
TEST = TEST & returndata.Substring(A, 0)
MsgBox(TEST)
A = A + 1
End While
returndata is the string witch holds the variables.
A starts at 0, and then check after a ! in returndata.
When I run this, I get an error.
Index and length must refer to a location within the string.