Uh, unfortunately that doesn't really apply here, unless I'm missing something? -1 would be assuming that we know the entirety of the last word. He wants to grab a letter, and find the word it belongs to, meaning it could be in the middle of the sentence, and in the middle of a word.

The $gettok($left(%text,%pos),0,32) is necessary to do this. As we need to find out how many tokens are between the beginning, and the specified letter position. So we set it to it to a var, and then use it on the entire %text, to get the full word.

You tired hixxy? grin