How to replace characters in a string?

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Jun 8 17:38:29 EDT 2022


On 8/06/22 10:26 pm, Jon Ribbens wrote:
> Here's a head-start on some characters you might want to translate,

Another possibility that might make sense in this case is to simply
strip out all punctuation before comparing. That would take care of
things being spelled with or without hyphens, commas, etc.

-- 
Greg


More information about the Python-list mailing list