I have textfield1 and textfield2, I want to reduce characters after commas in textfield2example:textfield1 =This is mango, the color is greenin textfield2 =this is mangoI want to use if with initialization / trigger "comma (,)"If in php like this :remove everything after first comma from string in p...