Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best way to strip out trailing blanks/CR/LFs from a stri
Message
De
19/07/2004 15:14:53
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
19/07/2004 14:39:52
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00925773
Message ID:
00925895
Vues:
24
Everyone did assume his text was what he meant. The stated requirements did not say "keep only the first 28 chars" so LEFT(,28) would not be right.

>Sure. Difference is I would have asked rather than assume. Especially if it seemed unclear; but maybe it wasn't unclear to you.
>
>>Hi Jay
>>
>>Have you never had a client say one thing but mean another? It's not up to us to guess what the key word(s) are. It's our job to ensure there's no ambiguity in the client's requirements. Fernando's example may have been exactly what he meant. Fernando (the "client") acknowledged and corrected the ambiguity.
>>
>>>>Yes, but given his example it works. If his stated requirements are wrong, attempting to just remove chr(13) etc from the end may also be wrong.
>>>
>>>Sure, but using LEFT(cString,28) would work to, but it's not the answer. The key word was "trailing" which implies that there may be some that are not trailing.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform