我发现${string:0:3}一个人可以访问字符串的前3个字符.是否有一个等效的方法来访问最后三个字符?
${string:0:3}
string bash extract
bash ×1
extract ×1
string ×1