Ver Mensaje Individual
  #2 (permalink)  
Antiguo 01/12/2002, 14:20
Avatar de epplestun
epplestun
 
Fecha de Ingreso: octubre-2001
Mensajes: 1.621
Antigüedad: 22 años, 5 meses
Puntos: 5
La funcion que estas buscando es:

subsrt();

Su uso:

Código PHP:
<?PHP
$cadena 
"hola mundo";
echo 
subsrt($cadena,0,-3);
?>
Esto te devolvera los últimos tres caracteres

Más info sobre strings (cadenas):

http://www.php.net/manual/es/ref.string.php
__________________
Usuario registrado de Linux #288725