Php Program For String Functions In Mysql