Hello all,
In my PHP script I put a text file into a string. Part of that string is
read, changed and removed. The while loop continuest to extract the next
part of the string. This goes all fine with one exception. When there is a
line break in the second string that has the extract of the first string, it
cannot find the words I am looking for as it stops looking when it hits the
line break.
For example:
string = why is that line break there
string2 = that line
break
I am looking for "that line break", it can't find it with stristr.
Which function can I use on the second string to have the line break
removed?
Thanks a lot in advance.
Botak
In my PHP script I put a text file into a string. Part of that string is
read, changed and removed. The while loop continuest to extract the next
part of the string. This goes all fine with one exception. When there is a
line break in the second string that has the extract of the first string, it
cannot find the words I am looking for as it stops looking when it hits the
line break.
For example:
string = why is that line break there
string2 = that line
break
I am looking for "that line break", it can't find it with stristr.
Which function can I use on the second string to have the line break
removed?
Thanks a lot in advance.
Botak
Comment