`collection.sliding(3).filter { it = subString }` ...
# stdlib
c
collection.sliding(3).filter { it = subString }
(approximate names)