Wolters Kluwer Interview Question

Write a script that will search a string for a specific sub-string and return true if it is found and false otherwise.