Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetwordNum with preserved spaces
Message
From
22/03/2006 02:26:21
 
 
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:
01106519
Views:
25
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
Previous
Reply
Map
View

Click here to load this message in the networking platform