Php Find Substring In String Leetcode