Answers for "rellenar caracteres php"

PHP
24

php nombre de caractère

<?php
$str = 'abcdef';
echo strlen($str); // 6

$str = ' ab cd ';
echo strlen($str); // 7
?>
Posted by: Guest on March-13-2020
0

eliminar ultimo caracter string php

$mystring = 'number 1, number 2, number 3,';
$myString = substr($myString, 0, -1);
echo $myString;  // 'number 1, number 2, number 3'
Posted by: Guest on October-15-2020

Code answers related to "rellenar caracteres php"

Browse Popular Code Answers by Language