string

FilterIndex instance for String. It allows filtering of every Char in a String by its index's position.

Receiver

FilterIndex.Companion to make the instance statically available.

Return

FilterIndex instance