DonationCoder.com Software > Post New Requests Here
[Solved] Manipulate lines in a txt file
Ath:
I understand.
Sorry if I cannot do my best.
:tellme:
-Contro (September 04, 2017, 03:27 PM)
--- End quote ---
Well, the only thing we want you to do, in this situation, is to answer the question. Why is that so hard? It's not a difficult question, and only a yes or no answer is enough.
Contro:
I am in a difficult situation i am afraid : need more english knowledge.
Please . What is the question exactly i can respond yes or no ?
Best Regards
:-[
Ath:
Please . What is the question exactly i can respond yes or no ?
-Contro (September 07, 2017, 03:19 PM)
--- End quote ---
- What should happen if a line in the file has only 1 period in it. Should that line be removed, or should it remain in the output?
-Ath (August 09, 2017, 05:38 AM)
--- End quote ---
4wd:
Perhaps an example would better explain the question?
Input text:
--- ---Phrase 1. Phrase 2. Phrase 3.
Phrase 4.
Phrase 5. Phrase 6. Phrase 7.
Output Option 1 (Phrase 4 remains since it is the only Phrase in the line):
--- ---Phrase 2.
Phrase 3.
Phrase 4.
Phrase 6.
Phrase 7.
Output Option 2 (Phrase 4 is removed because it is the first Phrase in the line):
--- ---Phrase 2.
Phrase 3.
Phrase 6.
Phrase 7.
Which is the preferred output option, 1 or 2?
Contro:
Please . What is the question exactly i can respond yes or no ?
-Contro (September 07, 2017, 03:19 PM)
--- End quote ---
- What should happen if a line in the file has only 1 period in it. Should that line be removed, or should it remain in the output?
-Ath (August 09, 2017, 05:38 AM)
--- End quote ---
-Ath (September 07, 2017, 03:22 PM)
--- End quote ---
That line must be removed
:-*.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version