I Have Some Paragraph In text.txt File, Spouse This Content Written In File, Hi;Hello;How,Are,You, Code (markup): Please Tell Me, How I Want tO Delete How,Are,You Code (markup): By Using Php
Are you just looking to remove the text after ";" or the entire process to read and remove the content from the file?
So you want to read the file's lines, and after every last ; in each line you want to remove the rest of the line and move on to the next line? Edit: Could the line be like this Hello;how;are,you,doing;tonight;are;you,good,or;what;are;you;saying Edit: What are you using this for? Seems weird to store text like that.