I have a question, I would like to know how to separate my variables and numbers from the operators, here is my example:
Dim letras As String()
Dim texto As String = "abc*5+x/(y+z)"
letras = texto.Split(CChar("*"))
For i = 0 To letras.Count - 1
MsgBox(letras(i))
Next
letras(0)=abc
letras(1)=5+x/(y+z)
My question is how could I separate it for each operator I find and something like this would remain:
letras(0)=abc
letras(1)=5
letras(2)=x
letras(3)=y
letras(4)=z
What could be the best way to do it, thanks