Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shortening value returned by GETFILE()
Message
De
20/11/2006 21:16:46
 
 
À
20/11/2006 16:52:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01171284
Message ID:
01171311
Vues:
10
This message has been marked as the solution to the initial question of the thread.
>I'm storing the filename that's returned using GETFILE() to a variable, and then removing the information related to the PATH by using STRTRAN(). Is there a way to have GETFILE() retrieve only the name of the file without the PATH information? If not, is there a way to shorten the data being stored to the variable without having to use STRTRAN()?
?JUSTFNAME(GETFILE())   && Returns just file name
?JUSTSTEM(GETFILE())    && Returns file name without extension
?JUSTPATH(GETFILE())    && Returns the file path without a name
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform