<cfif listfindnocase(path, "archivedocs", "/")>

Matthew Walker
http://www.matthewwalker.net.nz/



> -----Original Message-----
> From: Parker, Kevin [mailto:KParker@;workcover.com]
> Sent: Monday, 4 November 2002 4:51 p.m.
> To: CF-Talk
> Subject: Words
> 
> 
> Can anyone recommend the best approach to finding a word 
> inside a string.
> REFind seems a bit complex (or overkill) for this task.
> 
> I am trying to check if a path contains a particular 
> sub-directory name so
> that I can put additional info on the screen for the user. The path is
> returned in the value of Key from a Verity search. Maybe 
> there is an easier
> way?
> 
> For example I want to check if the results being returned in 
> a Verity search
> contain the word "archivedocs" in the path thus:
> 
> http://www.workcover.com/ftp/archivedocs/thisfile.pdf
> 
> so that I can let the user know that they are looking at an historical
> document and need to check the accuracy of the info.
> 
> TIA!
> 
> 
> **********
> 
> Kevin Parker
> Web Services Manager
> WorkCover Corporation
> 
> [EMAIL PROTECTED]
> www.workcover.com
> 
> p: 08 82332548
> f: 08 82332000
> m: 0418 806 166
> 
> **********
> 
> 
> 
> **************************************************************
> **********
> This e-mail is intended for the use of the addressee only. It may 
> contain information that is protected by legislated confidentiality
> and/or is legally privileged. If you are not the intended 
> recipient you
> are prohibited from disseminating, distributing or copying 
> this e-mail.
> 
> Any opinion expressed in this e-mail may not necessarily be 
> that of the
> WorkCover Corporation of South Australia. Although precautions have
> been taken, the sender cannot warrant that this e-mail or any files
> transmitted with it are free of viruses or any other defect.
> 
> If you have received this e-mail in error, please notify the sender
> immediately by return e-mail and destroy the original e-mail and any
> copies.
> **************************************************************
> **********
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to