hello everyone,
I am looking to remove some stuff from my string:
$list = "7:2,3:1,5:1,33:1,23:2";
$list = "7:2,3:1,33:1,23:2"; // REMOVE THE "5:1," OR ANY OTHER DINAMICALY AT ANY POSITION
$list = substr($list, 0, strpos($list, "3:")); // i was thinking about this, but i dont think it willwork.
thanks