Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は次の値を持っています(そして何十万ものフィールドに同様のフォーマットがあります):
61.00.62.1
stringrorstringiおよび (おそらく) 正規表現を使用して変換したい
stringr
stringi
61.0 0.6 2.1
stringi::stri_split_regexフォームのコマンドの使用に失敗しました
stringi::stri_split_regex
"[0-9]\\d{1,2}(\\.[0-9]\\d{1})"
ありがとうございました。