Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Evaluating spaces
Message
 
À
13/02/2002 11:15:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00619519
Message ID:
00619541
Vues:
17
>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!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform