Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

773.Text sort -- How to sort all words in alphabetic order for each line in CSV file?

User: editor -- 2011-05-03          << 772  774 >>
Hits: 1906
Type: Text sort   
Search all Text sort examples
Description:
How to sort all words in alphabetic order for each line in CSV file?
How to change every line of CSV file, make the words in the order of A, B, C,...
Input Sample:
B1,C1,A1,E1,D1
E2,D2,B2,C2,F2
A2,P2,W2,B2,Q2
Output Sample:
A1,B1,C1,D1,F1
B2,C2,D2,E2,F2
A2,B2,P2,Q2,W2
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-o open csv file
2. ctrl-h open 'replace' dialog
* set 'replace unit' to 'Line'
* set 'replace with pattern' to:

3. click 'replace', done.
4. ctrl-s save to file.

Screenshot 1:  Replace_Window


Similar Examples:
How to reverse all the words in each line of a csv file? (65%)
How to sort all the numbers in each line randomly? (60%)
How to calculate md5 hex value of each line of text file? (60%)
How to highlight words appeared in same line in another file? (57%)
How to sort the lines in a text files by the order of line length? (56%)
How to remove the first 10 characters of each line in text file? (56%)
How to delete the first word in each line in a text file? (56%)
How to add words at the begin and end of first line in multiple files? (55%)

Check Demo of Text sort
Keywords:
alp  alpha  alphabet  order  every line  text sort  csv  every  sort  very  sort words in alphabetic order to csv  csv sort  sort csv  sort csv file  line order  order line  sort line  replace line in csv