Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Locating a number within a character string
Message
From
28/04/2000 11:45:33
 
 
To
28/04/2000 01:15:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00364345
Message ID:
00364510
Views:
25
>Doyle,
>
>>I'm looking for a function to locate the occurance of a number within a character string such as AT(). Thhanks to all.
>
>Please explain in more detail what you need. Do you mean you want to find "675" in a character string, or you want to find the first numeral in a character string, or look for all the 9's, or what?

Try VAL(mystring)

mystring = "ABCD2345DEFG"

VAL(mystring) = 2345!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform