Answers for "if find 2wo word remove last one php"

PHP
0

php remove last character from string if comma

$string = rtrim($string, ',');
Posted by: Guest on June-24-2020
0

string remove last two characters php

echo substr($string, 0, -2);
Posted by: Guest on June-29-2021

Code answers related to "if find 2wo word remove last one php"

Browse Popular Code Answers by Language