I have to replace all of the straight quotation marks ("
) to curly ones (“
or ”
)
I used s.replace
to replace all of the straight quotes with curly ones, however, they are all in the same direction. I don't know how to have curly quotes going in one direction when in front of a word, and ones going in the opposite direction at the end.
Ex: '" "o" "i" "'
must be converted to '“ “o” “i” ”'