Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetwordNum with preserved spaces
Message
De
22/03/2006 18:30:17
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
22/03/2006 00:40:20
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:
01106831
Vues:
23
>Hi,
>Sorry, I sent the wrong code.
>
>I just call GETWORDNUM(myvar, 3).
>In fact, I want to parse the string "word by word", with spaces preserved.

Then use "," as the third parameter - GETWORDNUM(myvar, 3, ","). It will use the comma as delimiter, and will treat spaces as characters. When third parameter is omitted, a space is assumed.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform