Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Capturing Parts of Filename
Message
De
25/02/1999 02:41:55
 
 
À
24/02/1999 23:52:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00191272
Message ID:
00191296
Vues:
18
>How do I capture the parts of a filename? For example, if the name of a file is image0001.jpg, I want to define lcprefix as "image0001" and lcSuffix as "jpg". I can't find this anywhere in the VFP6 online documentation, which is frustratingly difficult to use.

look for JUSTSTEM() and JUSTEXT() commands in the help
You can also get this functionality using the regular VFP character handling commands (AT,LEFT,RIGHT etc.)

Arnon
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform