VBGamer |
|||||||||||||||||||||||||||
Much easier way... Mattman (1 reply, 0 views) (2000-May-10) Well, I have an easier way, but this will ONLY work if you're using VB 6...
Let's say you have this code, assuming that CurLine = "9 + 11 / (47 + 9) + 12"
Dim SplitLine() As String
SplitLine = Split(CurLine, "(")
This will split the variable CurLine up at any "(", and SplitLine will look like this:
SplitLine(0) = "9 + 11 / "
SplitLine(1) = "47 + 9) + 12"
|