No indictment or information is insufficient, nor can the trial, judgment, or other proceeding thereon be affected, by reason of a defect or imperfection in its form, which does not prejudice the substantial rights of the defendant. Source: SDC 1939 & Supp 1960, § 34.3002; SDCL, § 23-32-20; SL 1978, ch 178 , § 73.