An information or complaint shall not be insufficient, now shall the trial, judgment or any other prosecution based on the said information or complaint be affected by reason of any defect, imperfection or omission of form which does not tend to prejudice the substantial rights of the defendant.