【发布时间】:2015-06-19 09:48:33
【问题描述】:
我有一个文本文件,我想用逗号替换最后一个空格,以方便数据导入和处理。
我的文本文件有以下示例行:
Some text 123 here and then 44.99
more text 789 is 33.75
我想要得到的结果:
Some text 123 here and then,44.99
more text 789 is,33.75
【问题讨论】:
-
你有什么尝试吗?