【发布时间】:2021-12-12 07:02:29
【问题描述】:
我在想我可以在 tidyverse 中使用 str_extract_all 或其他东西,但我不确定如何获取它,因为我的字符串返回的内容不正确。
这是字符串:
str <- "12, 47, 48 The integers numbers are also interesting: 189 2036 314 \',\' is a separator, so please extract these numbers 125,789,1450 and also these 564,90456. 7890$ per month "
【问题讨论】:
-
你只是想提取报价中的每一个数字吗?