遇到一個alpha時 代表遇到word的開頭 用while把這個word後面連接的alpha部份掃過 這時候index就會在這個word結束的後一個 外圍在用一個bool isword maintain