toupper
转化为大写字母
toupper(x=c("apple", "I like your style"))
[1] "APPLE" "I LIKE YOUR STYLE"
tolower
转化为小写字母
tolower(x="APPLE")
[1] "apple"
时间: 2024-12-14 09:18:01
转化为大写字母
toupper(x=c("apple", "I like your style"))
[1] "APPLE" "I LIKE YOUR STYLE"
转化为小写字母
tolower(x="APPLE")
[1] "apple"