Question
Split on Number
Hi,
Could anyone explain how to split a string at the first number it comes to. The two halves can then be passed to a list or an array.
I've got several variables such as "Mar16", "June13" etc (dates) and I need to split it into "Mar" and "16" etc so I can increment the date by one ie Mar16 to Mar17.
TIA,
Simon
Could anyone explain how to split a string at the first number it comes to. The two halves can then be passed to a list or an array.
I've got several variables such as "Mar16", "June13" etc (dates) and I need to split it into "Mar" and "16" etc so I can increment the date by one ie Mar16 to Mar17.
TIA,
Simon