Why not just copy-paste the code in the article I provided? You're gonna have a lot of trouble getting this right with a regexp. Even I who tend to always look for a regexp solution as the first choice, would avoid to do so in this case.
If this post was useful to you, please mark it as answer. Thank you!
johram
All-Star
28531 Points
3567 Posts
Re: Splitting strings with Pascal notation.
May 09, 2008 09:01 AM|LINK
Why not just copy-paste the code in the article I provided? You're gonna have a lot of trouble getting this right with a regexp. Even I who tend to always look for a regexp solution as the first choice, would avoid to do so in this case.