Page 1 of 1

newbie question...should be simple enough

Posted: Fri Mar 21, 2003 4:14 pm
by kyletrip
my php is reading a text file... in the text file i have a bunch of text beginning with the string "tb= " i want to be able to remove that string of characters from the front of the text so i can add more text, and then add that string on once again...im most grateful for all the help you can give me...thanks
Kyle

Posted: Fri Mar 21, 2003 4:33 pm
by matthiasone
to remove the characters read:

http://www.php.net/manual/en/function.substr.php

join the additional text by concatenating.