Ver Mensaje Individual
  #3 (permalink)  
Antiguo 14/12/2006, 14:25
Rizzo
 
Fecha de Ingreso: septiembre-2006
Mensajes: 1.193
Antigüedad: 17 años, 6 meses
Puntos: 30
Re: subString falla... me ayudas?

o tambien asi


texto = "https://www.miwebsite.com/swf/archivo.swf";
desde = texto.indexOf(":");
hasta = texto.indexOf("/swf")-5;

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