Hmm.  No, I think you'll need to get a bytecount and then decide whether
it's unicode or not before deciding to grab the entire string anyway.

Reminds me of the time I was working on a calc problem in college and, after
hours of strenuous work, discovered that (yes, Virginia) a really does equal
a.



  --Ben Doom
    Programmer & General Lackey
    Moonbow Software

: -----Original Message-----
: From: Matthew Small [mailto:[EMAIL PROTECTED]]
: Sent: Thursday, December 19, 2002 2:20 PM
: To: CF-Community
: Subject: Dumbest line of code ever written
:
:
: Is it just me or is this the dumbest line of code ever written?
:
: <cfset searchzip = left(form.callself_param2,len(form.callself_param2))>
:
: I actually wrote this.
:
: Matthew Small
: IT Supervisor
: Showstopper National Dance Competitions
: 3660 Old Kings Hwy
: Murrells Inlet, SC 29576
: 843-357-1847
: http://www.showstopperonline.com
:
:
:
:
: 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=5
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=5
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5

Reply via email to