Answers for "limitar caracteres en 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

sustituir caracteres especiales php

preg_replace('/[^a-zA-Z0-9_%\[().\]\\/-]/s', '', $String);
Posted by: Guest on May-28-2021

Browse Popular Code Answers by Language