Answers for "php cut some words fromstring"

PHP
0

cut string in php

$string = subtr($your_string, 0, 30);
// 0 where you start to remove
// 30 where you stop remove
Posted by: Guest on December-11-2021
0

trim specific character from strin using php

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

Browse Popular Code Answers by Language