This function searches a parameter's value for non-printable or invisible characters. The search stops at the first match.