Bash Shell字符串操作小结 1 取长度复制代码 代码如下:str= "abcd "expr length $str 4echo ${ str} 4expr "$str " : " Linux Shell 2022-04-09 75 点赞 1 评论 113 浏览