【发布时间】:2018-11-13 06:18:02
【问题描述】:
我曾尝试将文档拆分为句子,但由于括号内的标点符号,会出现一些奇怪的结果。所以我想删除所有标点符号。
示例输入:
A <- c('How to remove all punctuations(like this?) in side it?')
想要的输出:
"How to remove all punctuations(like this) in side it?"
【问题讨论】:
-
注意一般认为有no need to add the language title into questions。此外,无需评论来感谢人们的解决方案 - 但您应该使用复选标记来接受答案(给他们分数并解决问题)。
标签: r brackets punctuation