title: How to iterate loop inside a string searching for any word aftera fixed keyword?
body: <p>Suppose I have a sting as "PHP Paddy,PHP Pranav,PHP Parth", now i have a count as 3,now how should I iterate loop in the string aiming on string after "PHP " to display the all the names?</p>
  
  <p>Alright This is the string "<code>BEGIN IF (NEW.name != OLD.name) THEN INSERT INTO jos_menuaudit set menuid=OLD.id, oldvalue = OLD.name, newvalue = NEW.name, field = "name"; END IF; IF (NEW.alias != OLD.alias) THEN INSERT INTO jos_menuaudit set menuid=OLD.id, oldvalue = OLD.alias, newvalue = NEW.alias, field = "alias"; END IF; END</code>"  in which i am searching the particular word after " <code>IF (NEW.</code>", and after that particualar others strings should not b displayed, hence whenever in a loop it finds " <code>IF (NEW.</code>" I musr get a word just next to it. and in this way an array should b ready for to use.</p>