Strstr Bash
strstr() {
[ "${1#*$2*}" = "$1" ] && return 1
return 0
}
Tense Tarantula
strstr() {
[ "${1#*$2*}" = "$1" ] && return 1
return 0
}