I have a string of format:
"one two 33 three"
I need to split it on the numeric value so that I get an array of length 2:
"one two"
"33 three"
or an array of length 3:
"one two"
"33"
"three"
I tried Regex.Split(str,"\D+") but it gave me:
""
"33"
""
and Regex.Split(str,"\d+") gave me:
"one two"
"three"
and Regex.Split(str,"\d") gave me:
"one two"
""
"three"
So none gave me the desired result. Can anyone help?