Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trim function to remove blanks + returns
Message
 
À
21/07/1996 16:20:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00004308
Message ID:
00004312
Vues:
33
>>use LEFT() and ATC()
>
>That's why I was asking if someone already did a function for that. I am looking for something simple. If there is nothing that I'll have to built my own functions. Thanks.


I think maybe alltrim(substr(x,1,at(chr(13),x)-1))

Basically remove the CR then trim.

Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform