I need to split from a given string according to a series of comparison symbols.
I am using this sentence:
String[] partes = condicion.toString().split("<|>|=|<=|>=|or|and|not");
The problem is that with <, > = or and y not
it does it well and there are no problems, but with <= y >=
it does not take them well and it leaves me blank.
Any ideas on how to split so that I take the two symbols?
Thanks