One suggestion:
If you know there will be only one "&" in the string:
<cfif listlen(string,"&") GT 1>
<cfoutput>#Listlast(string,"&")#</cfoutput>
<cfelse>
The string didn't contain "&"
</cfif>
rgds
|| Holger Lockertsen - [EMAIL PROTECTED]
|| Sentralbord: +47 23 00 53 00
|| Direkte : +47 23 00 53 04
|| Mobil : +47 91 83 20 51
|| http://www.pixelduck.com/
> -----Original Message-----
> From: Brian Thornton [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 19, 2001 11:10 AM
> To: CF-Talk
> Subject: Find Character in a string
>
>
> Anyone know of the best way of say finding a "&" and the
> doing something with anything after it.... What's the
> quickest dev. wise for doing this....
>
> There's a million way to do the same thing....
>
>
>
> .....brian
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists