How to replace characters in a string?

Dave dave at looktowindward.com
Wed Jun 8 05:54:07 EDT 2022



> On 8 Jun 2022, at 11:25, Dave <dave at looktowindward.com> wrote:
> 
>    myNewString = theString.replace("\u2014", “]”  #just an example


Opps! Make that

   myNewString = myNewString.replace("\u2014", “]”  #just an example


More information about the Python-list mailing list