[Tutor] Re: Testing for punctuation in a string

Greg Brunet gbrunet at sempersoft.com
Mon Oct 13 04:33:03 EDT 2003


"Kirk Bailey" <idiot1 at netzero.net> wrote in message
news:3F8A18E2.5090805 at netzero.net...
> May I please jump in the thread?
>
> I just wrote 2 wiki's, and had to sort things out, seperating sheep
from goats
> just this way. And I had to do it a char at a time, and used recursion
in doing
> it. You might not want to use recursion, but maybe you will...

Hi Kirk:

I ended up using regex (the actual routine I used is in my response to
Anna).  Your code sample has a lot of interesting stuff though, so I'll
flag it to look at later for some more good ideas.  Thanks,

-- 
Greg






More information about the Tutor mailing list