Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ALLTRIM does not trim
Message
De
08/04/1998 03:02:43
 
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00090069
Message ID:
00090351
Vues:
26
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform