Section 218(2) in The Code of Criminal Procedure, 1973
(2)Nothing in sub-section (1) shall affect the operation of the provisions of Sections 219, 220, 221 and 223.IllustrationA is accused of a theft on one occasion, and of causing grievous hurt on another occasion. A must be separately charged and separately tried for the theft and causing grievous hurt.