Take the quotes off of tempdefendant; it's checking the string (which
doesn't have any spaces) rather than a variable.
-----Original Message-----
From: Angél Stewart [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 23, 2001 10:27 AM
To: CF-Talk
Subject: Finding a space in a string..
Hi dee ho all,
Would this find a space in a string?
<CFSET pos= #Find(Chr(20),'tempdefendant')#>
Because..it ain't working for some reason.
I also tried
<CFSET pos= #Find(' ','tempdefendant')#>
BUt that results in POS being 0 all the time.
-Gel
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists