| (1) | Where a charge is defective for the want of any essential averment therein, or where there appears to be any variance between the averment in a charge and the evidence adduced in proof of such averment, or where it appears that words or particulars that ought to have been inserted in the charge have been omitted therefrom, or where any words or particulars that ought to have been omitted from the charge have been inserted therein, or where there is any other error in the charge, the court may, at any time before judgment, if it considers that the making of the relevant amendment will not prejudice the accused in his defence, order that the charge, whether it discloses an offence or not, be amended, so far as it is necessary, both in that part thereof where the defect, variance, omission, insertion or error occurs and in any other part thereof which it may become necessary to amend. |