Added string_safe_npcy()