"What you can do is to create a new string value from the original, for example by copying all of the string except the last four characters:" . . . .