---

Check if a String Contains a Substring in Bash

One of the most common operations when working with strings in Bash is to determine whether or not a string contains another string.