<?php$string = '"São Paulo- SP Curitiba - PR "';echo $novaString = str_replace("-", "-@", $string);
Standard input is empty
"São Paulo-@ SP Curitiba -@ PR "
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!