Where several persons are made defendants to any action of trespass, assault, false imprisonment, detinue, replevin, trover, or ejectment, and any one or more of them are upon trial acquitted by verdict, every person so acquitted shall recover his costs of suit in like manner as if such verdict or acquittal had been given in favor of the defendant.
C.R.S. § 13-16-110