An information may be amended in matter of substance or form at any time before the defendant pleads, without leave, and may be amended after plea on order of the court where the same can be done without material prejudice to the right of the defendant; no amendment shall cause any delay of the trial, unless for good cause shown by affidavit.
R.L. 1910, § 5695.