def text.find.end
import ezsys@0.1.0.0/src/str.bend as Strimport Base
199# at the end of the text only an empty needle is found
200def text.find.end(needle: String) -> Maybe<&2, U32>:
201 match needle:
202 case SNil{}:
203 Some{0}
204 case SCon{_h, _t}:
205 None{}