Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetwordNum with preserved spaces
Message
De
22/03/2006 02:26:21
 
 
À
21/03/2006 23:04:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01106484
Message ID:
01106519
Vues:
23
This one preserves spaces:
cMyvar = "0014        ,0028        ,0035        ,0039        ,0068        ,0076       ..."
nIndex = 2
cSubstChar = '_' && or any character not to be present in cMyvar
? strtran(getwordnum(strtran(myvar, ' ', cSubstChar), nIndex, ','), cSubstChar, ' ')
Gensoft Sàrl
Christian Carron
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform