[Tutor] How to find a word in a string

Phil phillor9 at gmail.com
Mon May 3 21:37:18 EDT 2021


On 4/5/21 11:20 am, Mats Wichmann wrote:
>
> beyond that, you're getting into the range of regular expressions, 
> which we usually tell people "don't reach for them until you need to", 
> but it does seem like your whole-word requirement means you may need 
> to...
>
Although I've never used a regular expression I did search for an 
example but it started to become very complex. It seems to me that I 
have disregard all punctuation (not just the comma as in this case). 
I'll have to give this more thought.

-- 

Regards,
Phil



More information about the Tutor mailing list