my answer was my entry in the obfusacated cf code contest for this
evening.

maybe we should start a contest like that which that have in the C
world...

something like:

www.ocfmxcc.com

monthly contests, prizes, sponsors, banner ads...wow...i can see it now

....tony

r e v o l u t i o n w e b d e s i g n
[EMAIL PROTECTED]
www.revolutionwebdesign.com

its only looks good to those who can see bad as well
-anonymous

-----Original Message-----
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 24, 2004 11:30 PM
To: CF-Talk
Subject: RE: Easy String Question?

you could do

<cfoutput>
#left('341414_2_000',findOneOf('_','341414_2_000',1) - 1)#
</cfoutput>

....tony

r e v o l u t i o n w e b d e s i g n
[EMAIL PROTECTED]
www.revolutionwebdesign.com

its only looks good to those who can see bad as well
-anonymous

-----Original Message-----
From: Eric [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 24, 2004 11:19 PM
To: CF-Talk
Subject: Easy String Question?

I have a string and its late.  :)

I have a string 3_2_000 and what I need is the numbers before the first
underscore....they could be anywhere from 1 character to 7...so a simple
left doesn't work.  I think there is a function for it, but after some
time pounding the noggin and a book or two, I don't see it.

Any ideas?  Thanks!!

Regards,

Eric J. Hoffman
Managing Partner
Datastream Connexion, LLC
1.888.690.2893
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to