Answers for "replace last two characters string php"

PHP
0

string remove last two characters php

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

Code answers related to "replace last two characters string php"

Browse Popular Code Answers by Language