Javascript String Includes Substring Mysql Interview