Home > Back-end >  Java text processing
Java text processing

Time:04-30

To A text file. A, please send the file after the content according to the following rules of processing the output to A file AReverse:
A. if a line of (not) quotes and want to according to the characters of the inline order reversed,
B. if there are multiple of A newline (not in quotation marks), and to put multiple lines according to the row order reversed,
C. if you have any content (including line breaks) A within quotation marks, so does not need to transform the parts as A whole,
If A content does not meet the above conditions, the part does not need to convert the output directly,

Did recognize the right way of thinking,

CodePudding user response:

At least give a sample text,
  • Related