hehehe:

Try this:

<cfset fullURL = 'http://www.correios.com.br'>
<cfdump var="#ReplaceNoCase( getToken( fullURL, 2, '//' ), 'www.', '', 'one'
)#">

Cheers
Marco Antonio

On Tue, Mar 25, 2008 at 10:04 PM, Nate Willard <[EMAIL PROTECTED]>
wrote:

> listGetAt(url, 2, '/') works very well too, thanks! it does return the
> www. though, is there a way in the same line to remove the www without
> needed a "www." replace ""
>
> ?
>
> Thanks
>
> Nicholas M Tunney <[EMAIL PROTECTED]> wrote: Good call.  That
> behavior frustrates me ;)
>
> Nic
>
> Charlie Griefer wrote:
> > listGetAt(url, 2, '/') since CF ignores empty list attributes, no?
> >
>
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302078
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to