fmt_lang | R Documentation |
将小写字母转化为大写字母,全角符号转化为半角符号,并根据语言剔除无意义字符
fmt_lang(x, lang = "en_US")
x |
a character vector |
lang |
a string. The default value is "zh_CN" |
x <- c('B ', 'C012,,,3', 'cabc=dd')
fmt_lang(x)
y <- c(x, "中文3456Zab")
fmt_lang(y)
fmt_lang(y, lang = "zh_CN")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.