new file:   substr.sh