Bonediggler1
Technical User
Hello--
I would like to parse a string based on the number of characters before and after multiple occurances of a hyphen.
A sample string is:
123456-1-12345-0
The number of characters in each portion of this string (between the hyphens) may vary. I need to be able to basically seperate:
1) All characters to the left of the 1st hyphen
2) The character between the 1st and 2nd hyphen
3) The characters between the 2nd and 3rd hyphen
4) The character after the 3rd hyphen
Thank you!!
I would like to parse a string based on the number of characters before and after multiple occurances of a hyphen.
A sample string is:
123456-1-12345-0
The number of characters in each portion of this string (between the hyphens) may vary. I need to be able to basically seperate:
1) All characters to the left of the 1st hyphen
2) The character between the 1st and 2nd hyphen
3) The characters between the 2nd and 3rd hyphen
4) The character after the 3rd hyphen
Thank you!!