Javascript String Includes Substring Mysql Create