Фрагмент текстового файла:
Код: Выделить всё
Car horns should only be allowed to be in pitches C, E, and G, so whenever two
people honk at the same time it will be in harmony and traffic jams will sound
like symphonies.
―bringbackseymour, Mar 2016
%
The best item to protect you from sasquatch attacks is a camera.
―papertank17, Aug 2015
%
Im convinced most of the adults who told me wiki is unreliable, now use viral
facebook posts for most of their news sources.
―Sharplynormal, Dec 2015
%
When drone technology becomes cheap enough, hands-free umbrellas are gonna be
the shit.
―TremendoSlap, Oct 2016
%
I mostly use my drivers license to buy stuff that impairs my ability to
drive.
―mozezus, Jun 2016
Я не хочу удалять весь текст после длинного тире, только титры, так что, может быть, мы сможем посмотреть, есть ли новая строка, а затем остановить ее удаление.
Если я написал какой-либо код, который вы хотите увидеть, или я выразился расплывчато, дайте мне знать!
Подробнее здесь: https://stackoverflow.com/questions/798 ... -text-file
Мобильная версия