字符串操作

获取字符串长度

1
2
3
4
5
➜  ~ str=hello   
➜ ~ echo ${#str}
5
➜ ~ expr length $str
5

阅读更多

git命令笔记

查看本地文件修改内容

git diff fileName

阅读更多

Hello World

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

阅读更多