Answers for "cut last chars of string php"

PHP
9

remove last letter php

<?php
echo substr('abcdef',0, -1);     // abcde
?>
Posted by: Guest on June-09-2020

Code answers related to "cut last chars of string php"

Browse Popular Code Answers by Language