Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alltrim bug?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01252760
Message ID:
01252892
Vues:
16
>>>>I think I've used this before. Thought it worked as expected, but why isn't this working like I expect it to:
>>>>
>>>>
>>>>m.Notes = "  " + chr(9) + "Notes"
>>>>m.Notes = alltrim(m.Notes, 0, chr(9))  && Leading spaces and tab are still present
>>>>m.Notes = alltrim(m.Notes, 1, chr(9))  && Leading spaces and tab are still present
>>>>
>>>>
>>>>Maybe something obvious I'm not seeing? Maybe I'm not awake yet? Maybe the brain is turning to mush?
>>>
>>>Wait a minute. AFAIK ALLTRIM() only has one param, and that's the string you want to be trimmed, front and back. What gives here?
>>
>>New in VFP9
>
>Thought as much, but your message doesn't include your version; if it had I would have made that assumption.

Actually it was not Viv's message, it was mine. I did use the Version and OS comboboxes, but I previewed before sending. I've just run a couple of tests. Turns out that going through a preview causes the loss of the data in the Version and OS comboboxes.
eCost.com continues to rip people off
Check their rating at ResellerRatings.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform