in reply to Re^2: truncating a text file
in thread truncating a text file
$str = 'line 5<br>line 4<br>line 3<br>line 2<br>line 1<br>'; @lines = split('<br>',$str); unshift (@lines,'line 6'); $output = join('<br>',@lines); print $output;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: truncating a text file
by ikegami (Patriarch) on Jul 18, 2007 at 05:11 UTC |