R comes with three functions for text casefolding. ... replace 'a' by 'A' chartr("a", "A", "This is a boring string") #> [1] "This is A boring string".
確定! 回上一頁