[thelist] trimming db output (was: ASP question: Req...)

Warden, Matt mwarden at mattwarden.com
Thu Nov 29 13:25:24 CST 2001

On Nov 29, Anthony Baratta had something to say about Re[2]: [thelist] ASP...

>When pulling data from a database with ASP, make sure you trim() all your 
>data as it comes out of the database.
>varFieldOne = Trim(objRS("FieldOne"))
>You save yourself from debugging hell when the data does not come out 
>"clean" from the DB.

Be careful with this if your field can be NULL.



More information about the thelist mailing list