print substring in bash Edit Delete bash sh string sub substr variable variables echo "${string:$from:$len}"