stekwi
Messages postés2Date d'inscriptionvendredi 21 mai 2004StatutMembreDernière intervention 5 juillet 2004
-
29 juin 2004 à 15:49
cs_DARKSIDIOUS
Messages postés15814Date d'inscriptionjeudi 8 août 2002StatutMembreDernière intervention 4 mars 2013
-
29 juin 2004 à 18:52
Scalpweb
Messages postés1467Date d'inscriptionsamedi 13 mars 2004StatutMembreDernière intervention 5 mai 20104 29 juin 2004 à 16:24
Tu pourrais faire un truc du genre :
'Fonction convertissant les chiffres en lettres :
Dim v as string
v = ""
for i = 1 to len(ta_chaine_de_caractère)
for o = 1 to 255
if mid(ta_chaine_de_caractère, i, len(o)) = o then
v = v & chr$(o)
goto suiv
End if
next o
suiv:
next i
msgbox v
Scalpweb
Messages postés1467Date d'inscriptionsamedi 13 mars 2004StatutMembreDernière intervention 5 mai 20104 29 juin 2004 à 16:25
tu peux aussi faire le contraire :
'Fonction convertissant les lettres en chiffres :
Dim v as string
v = ""
for i = 1 to len(ta_chaine_de_caractère)
for o = 1 to 255
if mid(ta_chaine_de_caractère, i, 1) = chr$(o) then
v = v & o
goto suiv
End if
next o
suiv:
next i
msgbox v