Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ALLTRIM not trimming
Message
 
 
To
20/01/2010 16:58:11
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01445103
Message ID:
01445104
Views:
103
This message has been marked as the solution to the initial question of the thread.
>I imported data from excel to a table.
>some fields have spaces on the left side. I replaced the field by ALLTRIM(field) but the left space did not go away as it should do.
>
>Then, I check for the LEFT(field,1) =" " but it failed. I can see the empty space but I don't know why VFP does not think it is a space. Any idea?
>
>Mo

It must be some unprintable character.

?asc(left(field,1))
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform