Use SF_static_string::prettyTruncate.