Hi,
what I am trying to do i to split an expression like 1+2+3 and use + as delimiter. The problem is that I cannot do it neither using
nor
What I've read is that + cannot be used as a regular expression but maybe there is some way to do it?
Regards,
Martin
what I am trying to do i to split an expression like 1+2+3 and use + as delimiter. The problem is that I cannot do it neither using
Code:
String s = new String("1+2+3");
s.split("+");
Code:
Scanner s = new Scanner("1+2+3");
s.useDelimiter("+");
Regards,
Martin