Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find number within string
Message
 
To
06/07/1999 11:55:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00237774
Message ID:
00237856
Views:
13
Hi Todd,

>You may need to check more carefully to see if there is text between numbers and pull the numbers out seperately. Then again, you may not, and I may be wasting bandwidth :-)

You are right. And as Ed said I'd simply modify the line. But instead of blanks I'd use CHR(13). Then I can use MLINE(), or in VFP 6 ALINES(), to loop through all numbers, skipping over empty lines. And just in case it might contain decimal numbers, I'd add "." and "-" to the set of characters that are not replaced.

Christof
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform