Question : remove exact characters from string using php
Answered by : ankur-prajapati
$widget_id = substr($widget_text, 1, strlen($widget_text)-2);
Source : https://stackoverflow.com/questions/5433754/methods-to-remove-specific-characters-from-string | Last Update : Fri, 29 Oct 21