Answers for "php remove specific characters from string"

PHP
0

trim specific character from strin using php

$widget_id = trim($widget_text,'[]')
Posted by: Guest on January-25-2021
0

remove one character from string php

<?php
    $str = "geeks";
    $str1 = substr($str, 1);
    echo $str1."\n";
    $str1 = substr($str, 2);
    echo $str1; 
?>
Posted by: Guest on October-14-2021
0

remove exact characters from string using php

$widget_id = substr($widget_text, 1, strlen($widget_text)-2);
Posted by: Guest on October-22-2021

Code answers related to "php remove specific characters from string"

Browse Popular Code Answers by Language