Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ALLTRIM not trimming
Message
De
21/01/2010 13:26:39
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01445103
Message ID:
01445255
Vues:
28
>>>I just tried it in VFP 9 SP02 with the hotfixes applied and it works fine; try this:
>>>
>>>
>>>lcTest = "Test" + CHR(160)
>>>?IIF(RIGHT(lcTest,1)=CHR(160),.T.,.F.) && Returns True
>>>lcTest = ALLTRIM(lcTest,1,CHR(20),CHR(160))
>>>?IIF(RIGHT(lcTest,1)=CHR(160),.T.,.F.) && Returns False
>>>
>>
>>Is this one the latest hotfix
>>
>>http://support.microsoft.com/default.aspx/kb/968409
>>
>>?
>>
>>Also, can anyone with or without hotfix confirm the behavior I'm seeing?
>
>I run the code above and get the results described above.
>VFP9 SP2 09.00.0000.5815

The version number I have is VFP9 SP2 09.00.0000.7423

I am not sure of all the hotfixes and the files -- I think Sergey has a blog on the different hotfixes and where to get them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform