Data COLUMN exchange, split file left/right, merge file left/right.
The short name of this file is LXR (Left eXchange Right)   中文 Chinese
2005-12-16 update
How to separate your data? [ Byte Location Key string
Tab Space White ] [ Split Merge ] Notes Close
Above radio button open document & selection. Good for first run.
Below express square button, no doc no selection. Good for repeat.

Above 5 buttons exchange column

Above Split one file. All button above use fast internal variables.
read box01.value once, work with internal variable.
SLOW merge use box01.value directly, run slower.
Comment line string Nothing for no comment line.
String must be at line left end. Allow only whole line comment line.
Comment line string NOT apply to split/merge files.
Expand to full screen for wider view. notes mentioned
Merge   Hyper link click MERGE button.
"Sample 83" must define Merge > Left / Middle / Right string.
Delete L/M/R string when done, avoid L/M/R enter other merge job.
Split file: Box 1 -> Box 2 & 3; Merge files: Box 1 & 2 -> Box 3;
Split then addString then merge need rotate R1, R2, R3, R4.
Box:1      

Merge:Box1&2->Box3; R2 let input left/right exchange.
Box:2     (redo=undo)

Split output box2&3, then merge box3 as left-input need R3.
Box:3     (redo=undo)

Exchange box2 and box3. Put here in case you need.
Box:4     (redo=undo)

Print debug to box 4 (SLOW DOWN !! try small file<10k)
Debug code run much longer elapse time ! Use small file.

Program run one job at most 60 seconds then confirm-quit.
If you have bigger job or slower computer, please click the
check box below to lift this limit.     2005-11-16-20-54
I want longer time.   Set default, see source at "9411171754"
Big file no alert.   Set default, see source at "9412160043"


   
   
Button above send song link to box 4, user can click copy.

Button below create innerHTML song list. No copy button.
   
   


<a name=941216>
2005-12-16-09-01 start
On 2005-12-15 made important change. Before change
if separate file at key string "ABC", if "ABC" occur
at line left end, program never see it. After modify
this trouble removed. See source code at
9412152307
9412152308
9412152333
9412160815
2005-12-16-09-05 stop


This file name is
jslxrxv2.htm : 

j Java
s Script
l Left
x eXchange
r Right
x X(split=cut=control-X)
v V(merge=paste=control-V)
2 English (1 Chinese)
2005-11-17-18-39

2005-Dec Forum/Guestbook sign
Picture used in mainland and Taiwan sign
http://freeman2.com/js941201.gif
Picture used in Mongolia sign 9411281904
http://freeman2.com/js941202.gif

JavaScript program list http://freeman2.com/jsindex2.htm

The address of this page is
http://freeman2.com/jslxrxv2.htm
This file started on 2005-10-02, done on 2005-11-17
Thank you for visiting Freeman's web site.
Freeman 2005-11-17-18-42