Thanks! >>> [EMAIL PROTECTED] 07/23/03 09:52AM >>> <cfset anchor = listLast(theURL,"##")>
You'd want to first check to see if # is inside. (Note, the ## above simply means # since we have to escape # in CF.) ======================================================================== === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email : [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: Randell B Adkins [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 23, 2003 6:21 AM > To: CF-Talk > Subject: Query String > > > Does anyone know how to search the URL line for an ANCHOR tag? > > Such as this is the URL: http://www.mydomain.com/showthis.cfm#MyItem1 > > That would relate the to <A NAME> anchor. But if this anchor > is called, I want it to be highlighted. > > I tried <CFIF CGI.SCRIPT_NAME CONTAINS "MyItem1"> however > this only produces the /showthis.cfm element. > > TIA! > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

