What are the criteria for splitting the string? Is it that you want to separate the numeric from the non-numeric, and the dollar sign from the rest of the non-numeric? What if there isn't a dollar sign? What if there is only non-numeric? You're missing a clear explanation of what you attempting.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.