true if str contains pattern or false otherwise
test(!StringSearch!().containsPattern("Hello", "ll", 5)); test(StringSearch!().containsPattern("Hello", "ll", 2)); test(StringSearch!().containsPattern("Hello", "lo", 3)); test(!StringSearch!().containsPattern("Hello", "lo", 4)); test(StringSearch!().containsPattern("Hello", "lo", 3)); test(StringSearch!().containsPattern("Hello", "lo", 0));
Tells whether str contains pattern