No accusatory pleading is insufficient, nor can the trial, judgment, or other proceeding thereon be affected by reason of any defect or imperfection in matter of form which does not prejudice a substantial right of the defendant upon the merits.
(Amended by Stats. 1951, Ch. 1674.)