string remove chars in substring