Answers for "convert string with square brackets to array php"

PHP
0

remove square brackets from string php

str_replace( array('[',']') , ''  , $string )
Posted by: Guest on June-06-2021
1

remove square brackets from string php

$string = str_replace(array('[[',']]'),'',$string);
Posted by: Guest on June-06-2021

Code answers related to "convert string with square brackets to array php"

Browse Popular Code Answers by Language