Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ALLTRIM does not trim
Message
From
08/04/1998 03:02:43
 
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00090069
Message ID:
00090351
Views:
25
>>ALLTRIM() command is not removing the blank spaces to the left of an variable. I'am using Foxpro for DOS 2.5 on Win 95 platform.
>>
>>Rakesh Kothari
>Try this:
>
>?asc(alltrim(x)) - this will display value of the first character in your trimmed string - x=your original string.
>
>You may find that you have a non-display character which is not a space - such as a chr(0) or a tab (chr(9)).

The ASCII value of the first byte of the memory variable is 32.  Even, then
its not trimming the variable.

I have posted the code with another reply.

Bye,

Rakesh
Previous
Reply
Map
View

Click here to load this message in the networking platform