Cut of the end of the string string so that len utf8 characters remain.
string
len
a StringBuilder
the new size of the string