19-4420. Search of accused person. When a person charged with a felony is supposed by the magistrate before whom he is brought to have on his person a dangerous weapon, or any thing which may be used as evidence of the commission of the offense, the magistrate may direct him to be searched in his presence, and the weapon or other thing to be retained, subject to his order, or to the order of the court in which the defendant may be tried.
[(19-4420) Cr. Prac. 1864, sec. 651, p. 293; R.S., R.C., & C.L., sec. 8409; C.S., sec. 9338; I.C.A., sec. 19-4520.]