in reply to shell script query

equivalent to the "substring" in several programming languages; in perl, uses substr().