class CharSequenceContainsIndexSearcher : ISearcher<CharSequenceContainsNoOpSearchBehaviour>
Represents an ISearcher which uses CharSequence.indexOf to find expected objects.
CharSequenceContainsIndexSearcher()
Represents an ISearcher which uses CharSequence.indexOf to find expected objects. |
fun search(searchIn: CharSequence, searchFor: Any): Int
Searches in the given searchIn for the given searchFor, using its toString implementation, and returns the number of occurrences. |