dacha,
try
<cfset cURLString = "http://www.domain.com/directory/">
<cfoutput>#ListLast(cURLString, "/")#</cfoutput>
HTH,
Duane Boudreau, CTO
CFExperts
603.620.8797
> -----Original Message-----
> From: ZAMEX [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 26, 2001 5:08 AM
> To: CF-Talk
> Subject: How to extract string from URL
>
>
> Hi,
>
> how I can extract something from URL.
>
> I need to recognize which directory visitor types into browser's adrress
> field, eg. I need to recognize string "directory" from URL
> http://www.domain.com/directory/
>
> thanks in advance
> dacha.
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists