[thelist] Classic ASP: Someone else's code

David Mitchell dave at dbmdata.com
Tue Nov 22 12:17:14 CST 2005


If firstName not equal to empty string AND lastName not equal to empty
string then...

All the & "" after the the variables is doing is coercing the value to a
string.




> What exactly is going on here:
>
> if trim(Contact_First_x) & "" <> "" AND trim(Contact_Last_x) & "" <> ""
> then
>
> In case it's not clear in the email:  "" <> ""  which is: double-quote
> double-quote <> double-quote double-quote
>
> I'm not at all understanding the logic of this statement.... anyone?
>
> Casey
>
> --
>
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>


-- 
David Mitchell
dave at dbmdata.com
dbm data solutions
http://dbmdata.com
http://blog.dbmdata.com



More information about the thelist mailing list