If I remember correctly, the way you've got that statement Find function is
looking for a space in the string 'tempdefendant', which will always be 0.

Try taking the quote marks off of tempdefendant, like so:

<CFSET pos= #Find(' ',tempdefendant)#>

HTH
Hatton

> > 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

Reply via email to