add_string with explicit length