How do you disassemble a word into a list of letters?

Feb 23, 2012 at 12:46am

How do you disassemble a word into a list of letters?

I probably should know how to do this, but I don’t.

I have a text object outputting short words one at a time from a text file, and each word needs to be converted to a list of letters so I can process the letters one at a time. Could someone give me a hint how to do this?

Thanks!

#61927
Feb 23, 2012 at 1:08am
– Pasted Max Patch, click to expand. –
#223647
Feb 23, 2012 at 1:31am

xidance,

Invaluable help! Thanks very much.

#223648
Feb 23, 2012 at 1:50am

if you don´t want to use [regexpr] you could do it “manually” as well with [spell] and [itoa]. the [zl group 1] is nescessary for filtering of spaces and symbol-marks.

`

– Pasted Max Patch, click to expand. –
#223649
Feb 23, 2012 at 2:14am

regexp probably wins for this one, but here’s one with tier, atoi, and itoa.

– Pasted Max Patch, click to expand. –
#223650

You must be logged in to reply to this topic.