📜  选择第一个字符串 bash - Shell-Bash 代码示例

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

代码示例1
foo="bar"
echo ${foo:0:1}  
#{str:position:length}
#returns f