
16/12/2006, 20:02
|
| | Fecha de Ingreso: febrero-2005
Mensajes: 183
Antigüedad: 20 años, 1 mes 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! |