Ver Mensaje Individual
  #4 (permalink)  
Antiguo 16/12/2006, 20:02
index000
 
Fecha de Ingreso: febrero-2005
Mensajes: 183
Antigüedad: 19 años, 2 meses
Puntos: 0
Re: subString falla... me ayudas?

Muy bien, ahora lo voy a testear, testeaste poniendo un nombre largo antes de ":" ? ej:
texto = "httpsssssss://www.miwebsite.com/swf/archivo.swf";
desde = texto.indexOf(":");
hasta = texto.indexOf("/swf")-5;

mySubstring = texto.substr(desde, hasta);
trace(mySubstring);

a mi me andaba mal.

gracias!