cut the string