get a new string including the first two characters of string `x`,x[:2]