I need help breaking a string up into an array of string parts, based on alpha or numeric values. Basically, I need to break up these strings:
abc123xyz456
into an array of values, broken up by the alpha parts and numeric parts, like this:
array("abc","123","xyz","456");
In my application, it is safe to assume the string always starts with alpha characters.
Any ideas on the best way to accomplish this?