Was having trouble changing double in a string that came out of the wordpress options table, chaning the double quotes to single with str_replace was not working. You need to convert the quotes before changing them to single like in this snippet.
Searches include code snippets and descriptions. Refine using the dropdown. Search for code by function name. Ex: the_excerpt or str_replace. Results ordered by number of individual word matches.