大家好,小弟有个档案想处理行列的移动
以下左边是档案内容,右边是想变成的样子,XXX是其他不会动到的内容
SPEC a1 | 1_1_For_SPEC_a
value | SPEC a1
500 | value
SPEC a2 | 500
value | SPEC a2
350 | value
1_1_For_SPEC_a | 350
XXX | XXX
SPEC c1 | 3_1_For_SPEC_c
value | SPEC c1
170 | value
SPEC c2 | 170
value | SPEC c2
810 | value
3_1_For_SPEC_c | 810
XXX | XXX
3_2_For_SPEC_c | 3_2_For_SPEC_c
| SPEC c1
XXX | value
| 170
| SPEC c2
| value
| 810
| XXX