Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 21 Feb 2002, 03:11
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Real name: Justin J. Rebbert
More help with strings

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?
__________________
-Justin J. "JJR512" Rebbert
www.JJR512.com: Chat about anything!
Reply With Quote
  #2  
Old 21 Feb 2002, 06:41
Mark Hensler's Avatar
Mark Hensler Mark Hensler is offline
 
Join Date: Oct 2001

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Output:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 12:29.

Layout Options | Width: Wide Color: