string_is function

Detects whether a pattern is in a character string