I have a very trivial problem with str_replace.
I have a string with the En Dash character ( - ) like this:
I want to remove - the dash
i've managed to do this by calling remove_filter( 'the_title', 'wptexturize' ); in functions.php an then you perform a str_replace or whatever by "-" sign;
remove_filter( 'the_title', 'wptexturize' );
str_replace