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

newdendrite's icon

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!

xidance's icon
Max Patch
Copy patch and select New From Clipboard in Max.
newdendrite's icon

xidance,

Invaluable help! Thanks very much.

xidance's icon

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.

Max Patch
Copy patch and select New From Clipboard in Max.

`

Chris Muir's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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