Removing all occurences of a character from a string.

Sean Ross sross at
Tue Sep 24 22:57:53 EDT 2002

I have a string, say "'Hello World'", where Hello World is in single
quotes(i.e., 'Hello World'). How can I remove the single quotes so that
"'Hello World'" becomes "Hello World"?
Sean Ross

More information about the Python-list mailing list