# 檢測＆nbsp;和JavaScript的空間

1. get string as innerHTML
2. get cursor position using a function (now I can find the word that was modified)
3. read backwards till a space is found (character by character comparison)
4. extract the word from the point of space found.