Ver Mensaje Individual
  #2 (permalink)  
Antiguo 12/03/2013, 14:07
Avatar de catpaw
catpaw
 
Fecha de Ingreso: mayo-2010
Ubicación: xalapa
Mensajes: 856
Antigüedad: 14 años
Puntos: 23
Respuesta: Separar STRING y reutilizarlo

pues de rapido se me ocurre hacerles un substring

Código PHP:
Ver original
  1. $latlan1 = substr($latlan[0],1,1);  
  2. $latlan2 = substr($latlan[1],-1,1);

creo que es algo asi, si no revisa esto:

http://php.net/manual/es/function.substr.php´

Saludos!