字符串截取的三种方式 2019-11-19 本文已影响0人 pengwg echo $a 123459694 expr substr $a 1 3 123 echo $a|cut -b 2-5 2345 echo ${a:2:3} 345