Mathieu Bouchard a écrit :
On Sat, 6 Oct 2007, Patrice Colet wrote:
In relation with that topic, anyone has ever made a kind of 'text to ascii decimal number' converter?
There is plenty of that already in the pd-list archives.
The trick is that you divide the number by 10, write the remainder (le reste de la division) plus 48, then if the main result of the division is nonzero, write it to the left of the digit that you just wrote.
That works greatly for numbers from 0 to 9 obviously, but not for other glyphs than numbers, I might have not been clear enough in the question. The [any2string] external is doing exactly the job I want, it even work with special characters.