[FYR] return pos of words in string format