有文本如下:
10721
10030
10717
76
78
595
9605
9657
9665
10385
10386
2364
2366
9650
9652
2376
2379
9666
9649
11106
3926
11479
11301
11285
11286
11298
11296
11292
11469
11308
11306
11288
11310
11293
11289
11297
11295
11169
11170
11171
11172
11174
需要将上述内容每行加上双引号后,用逗号分隔并显示在一行
解决方案:
查找目标:
替换为","
修改一头一尾,输出结果为:
"2366","9650","9652","2376","2379","9666","9649","11106","3926","11479","11301","11285","11286","11298","11296","11292","11469","11308","11306","11288","11310","11293","11289","11297","11295","11169","11170","11171","11172","11174","2365","2367","356","9654","9662","2378","4019","11300","11304","2732","11105","11305","11302","11294","3927","11470","11474","11173","11287","11291","11309","11307","11290"
作者:乘风破浪的姐姐
链接:https://www.jianshu.com/p/7244fb1f8f40
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。