Modified getToken and added stringRemovedOperator