finish except string with index