Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to trim Tab?
Message
From
22/04/2022 21:32:30
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01684220
Message ID:
01684229
Views:
42
Hi Dimitry.

>If a string has a Tab character, the ALLTRIM() does not remove it. Example,
>
>cTest = "       abc"   && Tab to abc
>? ALLTRIM(cTest)
>*-- Result spaces before cTest
>
>
>Is there an ALLTRIM() in VFP that removes tab(s)? Other than, doing AT() and search for the tab character.

Alltrim will remove tabs if you ask it to.
? AllTrim(cTest, " ", chr(7))
As with all things, the help file is your friend :-)

Ian Simcock.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform