Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find number within string
Message
From
06/07/1999 17:20:54
 
 
To
06/07/1999 14:04:03
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00237774
Message ID:
00237962
Views:
12
>Oh, crud! Slight correction:
>Change
>
>  lnNum = SUBSTR( lcString, lni )
>to
>
lnNum = VAL( SUBSTR( lcString, lni ) )
>
>Sorry, 'bout that.

I'll jump in here

lcNumber = ""
FOR lnCount = 1 TO LEN(lcOrigStr)
IF ISDIGIT(SUBSTR(OrigStr, lnCount, 1))
lcNumber = lcNumber + SUBSTR(OrigStr, lnCount, 1)
ENDIF
ENDFOR
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform