<@U5FRVFK0E> how about `str.indexOf(searchTerm).le...
# android
j
@myanmarking how about
str.indexOf(searchTerm).let { it to it + searchTerm.length }
(the start index will be negative if seachTerm is not in str)