Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding a letter position in a string
Message
De
18/11/2010 20:36:16
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01489706
Message ID:
01489713
Vues:
61
>>>>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?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform