let's say I have a string like this:
$str = "{aaa,aa,a,aaaaaaaa,aaaaaaa,aaaaaaa}";
I want to remove both {
& }
using str_replace
only once.. Possible?
I've tried
$str = str_replace ('}', '{', '', $str);
$str = str_replace ('}'&'{', '', $str);
$str = str_replace ('}'||'{', '', $str);
$str = str_replace ('}''{', '', $str);
and none works...