在使用shell的時候, 可以用以下表示法, 來表示特定範圍的字串 例如 : string='This is an apple' # echo ${string:0:4} 會秀出 This # echo ${string:11:16} 會秀出 apple