Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetwordNum with preserved spaces
Message
From
22/03/2006 18:30:17
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
To
22/03/2006 00:40:20
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01106484
Message ID:
01106831
Views:
26
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform