Ver Mensaje Individual
  #2 (permalink)  
Antiguo 17/09/2009, 08:28
Avatar de pateketrueke
pateketrueke
Modernizr
 
Fecha de Ingreso: abril-2008
Ubicación: Mexihco-Tenochtitlan
Mensajes: 26.399
Antigüedad: 16 años, 11 meses
Puntos: 2534
Respuesta: Ayuda con expresiones regulares

igual podías haber usado (int) o bien, ltrim()
Código PHP:
echo (int) '000123';
echo 
ltrim('000123''0'); 
__________________
Y U NO RTFM? щ(ºдºщ)

No atiendo por MP nada que no sea personal.