Easy Len ?

2003-03-12 Thread webmaster
What is the best way to actually count the number of characters entered in a checkbox, but not spaces? Would I use a regex of some sort, then count that result? Thanks for any pointers. Regards, Eric J. Hoffman DataStream Connexion www.datastreamconnexion.com ~~~

Re: Easy Len ?

2003-03-12 Thread Jerry Johnson
You can't enter characters in a checkbox, can you? Not sure what you are trying to do. Jerry Johnson >>> [EMAIL PROTECTED] 03/12/03 04:31PM >>> What is the best way to actually count the number of characters entered in a checkbox, but not spaces? Would I use a regex of some sort, then count tha

RE: Easy Len ?

2003-03-12 Thread Ben Doom
, "all")); HTH -- Ben Doom Programmer & General Lackey Moonbow Software, Inc : -Original Message- : From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] : Sent: Wednesday, March 12, 2003 4:32 PM : To: CF-Talk : Subject: Easy Len ? : : : What is the best way to actually c

RE: Easy Len ?

2003-03-12 Thread Matthew Walker
:32 a.m. To: CF-Talk Subject: Easy Len ? What is the best way to actually count the number of characters entered in a checkbox, but not spaces? Would I use a regex of some sort, then count that result? Thanks for any pointers. Regards, Eric J. Hoffman DataStream Connexion www.dat

Re: Easy Len ?

2003-03-12 Thread Justin Scott
You can use this to get the length of a string, minus spaces.. -Justin Scott - Original Message - From: <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, March 12, 2003 4:31 PM Subject: Easy Len ? > What is the best way to actually count

Re: Easy Len ?

2003-03-12 Thread Clint
why not remove the spaces in the string and then use len to calculate the length? Clint - Original Message - From: <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, March 12, 2003 3:31 PM Subject: Easy Len ? > What is the best way to act

RE: Easy Len ?

2003-03-12 Thread webmaster
bject: RE: Easy Len ? Characters in a checkbox? What do you mean? Aside from that... len(replace(form.field, " ", "")) Or do you only mean leading and trailing space? len(trim(form.field)) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:

Re: Easy Len ?

2003-03-12 Thread Jim McAtee
The following should count non-whitespace characaters in a string: Jim - Original Message - From: <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, March 12, 2003 2:31 PM Subject: Easy Len ? > What is the best way to actually count

RE: Easy Len ?

2003-03-12 Thread webmaster
Got it...talk about fogettting to start at the easiest answer and going forward! -Original Message- From: Clint [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 3:52 PM To: CF-Talk Subject: Re: Easy Len ? why not remove the spaces in the string and then use len to

RE: Easy Len ?

2003-03-12 Thread Matthew Walker
> If the first, it looks Matthew's solution is the simplest. Except I stupidly left out the "all" attribute on the end ;-) ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseof

RE: Easy Len ?

2003-03-12 Thread Ben Doom
EMAIL PROTECTED] : Sent: Wednesday, March 12, 2003 5:00 PM : To: CF-Talk : Subject: RE: Easy Len ? : : : Sorry, it's a textarea...need to find out how many actual characters were : entered... : : Regards, : : Eric J. Hoffman : DataStream Connexion : www.datastreamconnexion.com : : : : -Origi

RE: Easy Len ?

2003-03-12 Thread Jerry Johnson
atthew Walker [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 3:47 PM To: CF-Talk Subject: RE: Easy Len ? Characters in a checkbox? What do you mean? Aside from that... len(replace(form.field, " ", "")) Or do you only mean leading and trailing space? len(trim(form.

RE: Easy Len ?

2003-03-12 Thread webmaster
J. Hoffman DataStream Connexion www.datastreamconnexion.com -Original Message- From: Justin Scott [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 3:55 PM To: CF-Talk Subject: Re: Easy Len ? You can use this to get the length of a string, minus spaces.. -Justin Scott

Re: Easy Len ?

2003-03-12 Thread Chris Edwards
;[EMAIL PROTECTED]> Sent: Wednesday, March 12, 2003 5:17 PM Subject: RE: Easy Len ? > Am I really losing my mind? I enter this is a test in the text area and > submitthis is the processing code: > > > > > > > Yields: > > Error. > Cannot convert thi

RE: Easy Len ?

2003-03-12 Thread Ben Doom
Are you sure that variables.Value is a number? -- Ben Doom Programmer & General Lackey Moonbow Software, Inc : -Original Message- : From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] : Sent: Wednesday, March 12, 2003 5:17 PM : To: CF-Talk : Subject: RE: Easy Len ? : : :

RE: Easy Len ?

2003-03-12 Thread webmaster
: Wednesday, March 12, 2003 4:46 PM To: CF-Talk Subject: RE: Easy Len ? Are you sure that variables.Value is a number? -- Ben Doom Programmer & General Lackey Moonbow Software, Inc : -Original Message- : From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] : Sent: Wednesday, Marc

RE: Easy Len ?

2003-03-12 Thread Ben Doom
Sent: Wednesday, March 12, 2003 5:58 PM : To: CF-Talk : Subject: RE: Easy Len ? : : : Yes.. .20 : : It the other variable I made doing the Len() that it shows as a : string, and : not a number...so what in the world, I guess? :-) : : Regards, : : Eric J. Hoffman : DataStream Conne