|
carrie -> Extra spaces in db field (6/25/2008 14:11:12)
|
Hi all, I am pulling data from a MYSQL db with asp and I've noticed it has extra spaces to the left of the value that I can't seem to trim. One example is a field marked: Agent ID CHAR 9, but it only has 6 - 7 numbers in the field. So, some fields will have 2 spaces, and some will have three, to the left of the number. When I use the 'trim' feature like this, it does not remove the spaces: agentnamestr = trim(ors("Agent ID")). I don't know why the field has spaces in the first place, but it does. How can I get the spaces removed from the query results? Carrie
|
|
|
|