Splitting a String based on the format it contains

krazineurons

New member
Joined
Jun 11, 2007
Messages
2
Programming Experience
1-3
Hi guys! suppose i have a string say
"a09b01c03d05e20g01h01i08l06n08o06r07s09t08u07x01"

now if you look closely at the string it has a specific pattern i.e.

<Char><Int><Int> over and over again.

now i know about the string.split function which splits by searching for a character which we tell it to. Now my question is can we split the above string on the basis of the format it is i.e. some function like

split(input string, char&int&int) ---> any thing like that?

i'd worked with files in C, and there we had a function called fscanf where we can specify the format our input string would be in like %s%d%d and keep reading the string, nothing like that in VB.Net eh?

please do help me.. all kinds of answers, codes and links are welcome1

thanks
 
Back
Top