Question : string parsing question

How to parse this kind of string to get the month value and year value effectively?
Test 07/2010 (Report 1: ABC)

Seems in Javascript, I can't define multiple split symbols. Thanks for any help (not using regular expression).

Answer : string parsing question

You need at least one point of ref. If there will always be one / and only around the date, then you can split by /, then for the left part, split by space (take last = month), right part split by space (take first = year).
Random Solutions  
 
programming4us programming4us