Stringlength, message with replace_pairs