Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetwordNum with preserved spaces
Message
De
22/03/2006 02:06:31
 
 
À
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:
01106516
Vues:
25
>Hi,
>I have a string like this :
>
>(myvar $ [0014        ,0028        ,0035        ,0039        ,0068        ,0076
>,0079        ,0107        ,0110        ,0111        ,0112        ,0113
>,0114        ,0115        ,0116        ,0117        ,0118        ,0119
>,0120        ,0128        ,0149        ,T0001       ])
>
>
>I want to split them out using space delimiter. Getwordnum() remove the spaces "[0014________" become "[0014_".
>
>Any other command I could use to achieve this?
>
>Thank you
FOR w=1 to alines(aw,[0014        ,0028        ,0035        ,0039        ,0068        ,0076
,0079        ,0107        ,0110        ,0111        ,0112        ,0113
,0114        ,0115        ,0116        ,0117        ,0118        ,0119
,0120        ,0128        ,0149        ,T0001       ],",")
 ? aw[w]
next
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform