Answers for "php how replace square brackets"

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 "php how replace square brackets"

Browse Popular Code Answers by Language