$ expr sbustr 'asdfaffasdfasdfsaf' 1 5 expr: syntax error
$ expr substr asfasdf 1 3 asf
— '' don't work, without it work
$ expr substr ############ 1 3 expr: syntax error
$ expr substr "############" 1 3 ###
— without quote wont't work, with "" works
$ expr substr "############" 1 30 ############
— doesn't matter over-want
$ expr substr "asdfsadf" 1 5 asdfs
— with "", always works
$ expr length asfasdf 7
— and you can get lenght too.
documented on: Mon 07-12-99 13:26:07