Or you could just use ListAppend().
On 8/31/06, Dawson, Michael [EMAIL PROTECTED] wrote:
Here's my little, cool, BIF tip:
If you have a loop to build a string, sometimes you may end up with a
trailing comma such as:
Monday,Tuesday,Wednesday,
There are a few ways around this:
1. Use an IF
Holmes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 30, 2006 9:07 PM
To: CF-Talk
Subject: Re: YesNoFormat() is cool!
See, you failed to ask, What would Ben do? He'd RTFM, rescue the
princess and smoke a kipper because he'd be back in time for breakfast
- oh, wait, that's Ace Rimmer :-)
Anyway
-Original Message-
From: Will Tomlinson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 30, 2006 9:02 PM
To: CF-Talk
Subject: YesNoFormat() is cool!
Just wanted to post about this function I just found in the back of
WACK... the very last function. I use a lot of bit data types
Yes, that would work if you are building the list within CF. However,
if you get your hands on a list that was created somewhere else...
M!ke
-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 31, 2006 1:08 AM
To: CF-Talk
Subject: Re: YesNoFormat
wow ... you built a function in CF2? ;) I agree it is good to read through
all the functions and to randomly just do it regardless of experience
level. Maybe a year ago I used a Java solution for some dates because it
was the way I knew to do it off the top of my head. Weeks after I did it, I
Need Help?
www.bennadel.com/ask-ben/
-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 30, 2006 9:38 PM
To: CF-Talk
Subject: Re: YesNoFormat() is cool!
Believe me - I see a lot of submissions to CFLib for stuff that already
exists. :)
On 8/30/06
Ben,
You know everything is a learning experience, even if you learned that
you might want to check cflib first...hehe
-Robert
-Original Message-
From: Ben Nadel [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 31, 2006 9:45 AM
To: CF-Talk
Subject: RE: YesNoFormat() is cool!
Yeah, I
[mailto:[EMAIL PROTECTED]
Sent: Thursday, August 31, 2006 10:51 AM
To: CF-Talk
Subject: RE: YesNoFormat() is cool!
Ben,
You know everything is a learning experience, even if you learned that you
might want to check cflib first...hehe
-Robert
-Original Message-
From: Ben Nadel [mailto:[EMAIL
LOL, even I missed that one, and I did learn all the CF tags and functions
long ago.
Russ
-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED]
Sent: 31 August 2006 03:07
To: CF-Talk
Subject: Re: YesNoFormat() is cool!
See, you failed to ask, What would Ben do? He'd RTFM
Or just use ListAppend() instead of trying to make a list manually...
Russ
-Original Message-
From: Dawson, Michael [mailto:[EMAIL PROTECTED]
Sent: 31 August 2006 04:38
To: CF-Talk
Subject: RE: YesNoFormat() is cool!
Here's my little, cool, BIF tip:
If you have a loop to build
'! Then I learned of cfqueryparam and even that fell by the wayside
:)
-Original Message-
From: Ben Forta [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 30, 2006 8:16 PM
To: CF-Talk
Subject: RE: YesNoFormat() is cool!
Will, I believe that one was added back in CF2, although might
Will, I believe that one was added back in CF2, although might have been
earlier. ;-)
--- Ben
-Original Message-
From: Will Tomlinson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 30, 2006 9:02 PM
To: CF-Talk
Subject: YesNoFormat() is cool!
Just wanted to post about this function
I did not discover it until around CF4. Sometimes it is amazing how long
you stick with a known solution when a much better one is integrated into
the language.
On 8/30/06, Ben Forta [EMAIL PROTECTED] wrote:
Will, I believe that one was added back in CF2, although might have been
earlier. ;-)
Will, I believe that one was added back in CF2, although might have been
earlier. ;-)
--- Ben
You shall pay for that one guy!
Hey, it's still cool! :)
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of
Believe me - I see a lot of submissions to CFLib for stuff that
already exists. :)
On 8/30/06, Aaron Rouse [EMAIL PROTECTED] wrote:
I did not discover it until around CF4. Sometimes it is amazing how long
you stick with a known solution when a much better one is integrated into
the language.
See, you failed to ask, What would Ben do? He'd RTFM, rescue the
princess and smoke a kipper because he'd be back in time for breakfast
- oh, wait, that's Ace Rimmer :-)
Anyway: http://livedocs.macromedia.com/coldfusion/7/htmldocs/0353.htm
has every function in one place. It really is worth a
'! Then I learned of cfqueryparam and even that fell by the wayside :)
-Original Message-
From: Ben Forta [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 30, 2006 8:16 PM
To: CF-Talk
Subject: RE: YesNoFormat() is cool!
Will, I believe that one was added back in CF2, although might have
-
From: James Holmes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 30, 2006 10:07 PM
To: CF-Talk
Subject: Re: YesNoFormat() is cool!
See, you failed to ask, What would Ben do? He'd RTFM, rescue the
princess and smoke a kipper because he'd be back in time for breakfast
- oh, wait, that's Ace
,,Wednesday,Thursday, -- Monday,Wednesday,Thursday
M!ke
-Original Message-
From: Mkruger [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 30, 2006 10:17 PM
To: CF-Talk
Subject: RE: YesNoFormat() is cool!
That reminds me of a function I did when CF 5 came out. I was so
enamoured with UDFs
19 matches
Mail list logo