(bech32-index-of-last-1 s) → idx
Function: bech32-index-of-last-1
(defun bech32-index-of-last-1 (s) (declare (xargs :guard (stringp s))) (let ((__function__ 'bech32-index-of-last-1)) (declare (ignorable __function__)) (search "1" s :from-end t)))