(2) From the date the newly formed municipal corporation comes into existence, all complaints and prosecutions for crimes committed or ordinances violated and all suits or causes of action arising within the territory of the municipal corporation prior to its creation may be instituted in said incorporated city with the same effect as if it had been in existence prior to the violations, subject however, to the provisions of the charter of the newly formed municipal corporation.