I'm importing a file with umpteen lines of "##,##"
. Each number can be one or two digits.
I'd like to use String.split(regex)
to get the two numbers without the adjacent quote marks.
Understanding that I could nibble off the first and last character and use a non-regex split, I'm hoping that there is a regular expression that will make this more graceful.
Suggestions?
EDIT:
In: "12,3"
Out: 12
3
"12,34"
become12,34
or12
and34
?