Review on getToken()

Check lines 137, 148, and 195 which has caused Jason's code to fail. Your stringDel() itself has serious problem. You need to fix it first.