📜  strtrim in - R 编程语言代码示例

📅  最后修改于: 2022-03-11 14:51:58.293000             🧑  作者: Mango

代码示例1
# To remove the last character
name <- "Rocku0"
remaining_length <- nchar(name) - 1
strtrim(name, remaining_length)