You are here: Any idea how to do this? « PHP Programming Language « IT news, forums, messages
Any idea how to do this?

Posted by kulet on 10/12/97 11:57

Hi guys! Got stuck with this..
I have a chunks of text separated with blanc line. All I need is to
take every last 3 lines of that text before the blanc line and put it
in to the new text file: example:

1some text
2some text
3some text
4some text
5some text

6some text
7some text
8some text
9some text
10some text

11some text
12some text
13some text
14some text
15some text

End result mast be...

3some text
4some text
5some text
8some text
9some text
10some text
13some text
14some text
15some text

Any idea?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация