📜  zsh 逐字符拆分字符串 - Shell-Bash 代码示例

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

代码示例1
A="abcdefg"
echo $A[2] # Print character 2
echo $A[1,4] # Print 4 characters from character 1