Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding a letter position in a string
Message
 
 
À
18/11/2010 20:21:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01489706
Message ID:
01489712
Vues:
62
>>>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.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform