PDA

View Full Version : More help with strings


JJR512
21 Feb 2002, 03:11
Suppose I have a string. In the string is the pattern of one digit followed by one letter, like 1A. This pattern can occur 0 to 3 times. Each occurance will be different; in other words, the string could be something like AAA 1A 111 2B 332D C3 DD. I need to find any and ALL occurrances of it, and put each one into a different variable. For that example, I would need to find A1, 2B, and 3C. How do I do this?

Mark Hensler
21 Feb 2002, 06:41
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


Output:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------