Dim strOrig = "192/8' 33/5' 76/24' 17/12'"
Hi all, I want to obtain every number before the "/". The output will be 318. Regarding how to achieve it, what I can think of is:
1.Split all the segment by looking for 'spacing' as end point for each segment and put them into an array. E.g. (0)192/8, (1)33/5, (2)76/24 etc...
2.By looping the array, look for the slash "/" and get the number before it and sum it until loop end. E.g. (0)192, (1)33, (2)76 etc...
I would like to know if my method was worth the effort as I would like to learn any MORE effective ways than this. Thanks all.