G
Guest
Hi!
I use a regex (?<!\\?)('|\\+| to split a string to a String[].
The String[] i get after splitting is correctly splitted but contains all
the delimiters i use to decide where the string should be splitted.
Do I have to loop through the array and find every index containing a single
delimiter or is there a easier way to do this.
Regards / gustav
I use a regex (?<!\\?)('|\\+| to split a string to a String[].
The String[] i get after splitting is correctly splitted but contains all
the delimiters i use to decide where the string should be splitted.
Do I have to loop through the array and find every index containing a single
delimiter or is there a easier way to do this.
Regards / gustav