Opinion' of the Court by
The question presented by the pleadings in this case is, was the security given by the plaintiff, a sufficient compliance with the statute requiring a bond to be filed by a non-resident, for the costs, before the commencement of the suit ? The filing of this bond, can not be said to be a literal compliance with the statute, but surely it answers the object which was intended by it—the ends of justice are answered. The defendant can not complain. In some cases, neither the clerk or attorney may know the plaintiff to be a non-resident when the suit is commenced ; in such cases, it would be hard to turn *68the plaintiff out of court, to answer no good purpose. In construing statutes, the intention of the legislature must be gone into. 6 Bacon, 884. The object of the legislature was to secure all parties in their costs, when a non-resident commenced a suit; this is answered in the present casé, and the judgment must therefore be affirmed. (a), (1).
Judgment affirmed.