Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding a letter position in a string
Message
From
18/11/2010 20:36:16
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01489706
Message ID:
01489713
Views:
60
>>>>I can locate a word in a string, But I need to determine the numeric value of the first letter, of the found word, in that string?
>>>>Dag Nab it! I think I used to be able to do this, so I am blaming this question down to geezeritis. :)
>>>
>>>
?ASC(Letter)
?
>>
>>Thank you for helping Naomi - j is Character 106 in a computer, but I want the number for the j in "the quick brown foxpro jumped over the lazy dog" The answer should be 24.
>
>Look at ATC and RATC functions in Help.

AT_C() Does the trick.
I ain't skeert of nuttin eh?
Yikes! What was that?
Previous
Reply
Map
View

Click here to load this message in the networking platform