fonction str2hex [résolu]
#4
Ah oui, j'ai zappé un substring Smile

Il faudrait donc convertir ta chaine en valeurs ascii non ?
tcl
proc asc { char } {
   return [ scan $char "%c" ]
}
proc chr { num } {
   return [ format "%c" $num ]
}


Je ne vois pas tellement comment convertir 'toto' en hexa sinon.
Répondre


Messages dans ce sujet
fonction str2hex [résolu] - par MenzAgitat - 25/05/2009, 04:43
RE: fonction str2hex / str2oct - par CrazyCat - 25/05/2009, 09:46
RE: fonction str2hex / str2oct - par MenzAgitat - 25/05/2009, 15:25
RE: fonction str2hex / str2oct - par CrazyCat - 25/05/2009, 15:50
RE: fonction str2hex [résolu] - par MenzAgitat - 25/05/2009, 16:58

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)
Tchat 100% gratuit -Discutez en toute liberté