When a judgment or final order is reversed, the plaintiff in error shall recover his costs, including the costs of the transcript of the proceedings, or case-made, filed with the petition in error; and when reversed in part and affirmed in part, costs shall be equally divided between the parties.
R.L. 1910, § 5261.