Does this work even if `suffix` is longer than `str`?