Just revisiting some of my earliest CF code (nearly 3 years old). I'll
present this portion unedited for your amusement:
<cfif (Find('to', #SG2#) is -1) AND (Find('+', #SG2#) is -1)> <!--- sg2
contains neither "to" or "+", so need "/" --->
/
</cfif>
Ahem. Anyway, I'm not sure why I used 'is -1', as the documentation says
that if Find has no matches, it returns zero. Yet somehow this code works.
Can someone explain that to me?
Duncan Cumming
IT Manager
http://www.alienationdesign.co.uk
mailto:duncan.cumming@;alienationdesign.co.uk
Tel: 0141 575 9700
Fax: 0141 575 9600
Creative solutions in a technical world
----------------------------------------------------------------------
Get your domain names online from:
http://www.alienationdomains.co.uk
Reseller options available!
----------------------------------------------------------------------
----------------------------------------------------------------------
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]