Hey ... if your right that has to be a bug right? It must be because of the nested function. I use "trim( )" all the
time without issues. Your saying that trim( ) combined with "Len( )" causes the inner function ref to be passed instead
of the return value from both calls?
-Mark
-----Original Message-----
From: JediHomer [mailto:[EMAIL PROTECTED]
Sent: Monday, July 05, 2004 11:27 AM
To: CF-Talk
Subject: Re: Havent seen this error before...
It shouldnt but thats the bug, as its not just a variable but a string
function being passed into the tag the single quote doesnt go into the
database as a single quote but as 2 single quotes.
So basically if you wanted to trim and make sure whats going into the
DB is less than 100 chars you have to do this outside of the tag for
it to behave as expected.
HTH
Mike
----- Original Message -----
From: Greg Luce <[EMAIL PROTECTED]>
Date: Mon, 5 Jul 2004 12:03:27 -0400
Subject: RE: Havent seen this error before...
To: CF-Talk <[EMAIL PROTECTED]>
Your second example is just trimming the left 100 chars, that won't affect
the single-quotes will it?
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

