Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetwordNum with preserved spaces
Message
From
22/03/2006 00:29:33
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
21/03/2006 23:04:26
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:
01106499
Views:
26
>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_".

I've copied your string to the clipboard, and
?len(getwordnum(_cliptext,3,","))
returned 12 in both VFP8 and VFP9. Are you sure you were using just comma as the first parameter?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform