Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Evaluating spaces
Message
 
To
13/02/2002 11:15:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00619519
Message ID:
00619541
Views:
16
>hey everyone,
>i am having trouble trying to figure out how to evaluate spaces in a table field. here is my problem: i have a table which is placing a drive path in the table field. sometimes i will get something like: c:\drive\ and then other times i will get c:\drive. how can i evaluate from the left of the table field the spaces and say something like:
>
>"if left(whatever space command is)<> '/' then add '/' "
>
>any help would be appreciated. thanks.

Would the addBs() function work? It adds a backslash to the end of a path, only if it isn't there.
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Previous
Reply
Map
View

Click here to load this message in the networking platform