Thanks Ravi, that's really got the ball rolling although it's stripping it's a little off. can you tell me what last.gsub does? i think it's the .aspx off the end... but what are the two inputs for on that method?

thanks mate.

Sol.


From:  Ravi <[EMAIL PROTECTED]>
Reply-To:  [email protected]
To:  [email protected]
Subject:  Re: [Wtr-general] stripping...
Date:  Fri, 25 May 2007 08:05:31 CDT
>Try this:
>new_url=base_url + '/' + ie.url.split('/').last.gsub('.aspx','')
>_______________________________________________
>Wtr-general mailing list
>[email protected]
>http://rubyforge.org/mailman/listinfo/wtr-general


The next generation of Hotmail is here - Windows Live Hotmail
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to