How do I divide a word into letters?

Maybe this string distance function can help?