Easily Manipulate Strings in bash

All bash variables are by default treated as character strings. Therefore more often than not, you need to manipulate string variables in various fashions while working on your bash script. This bash tutorial presents a comprehensive list of useful string manipulation tips for bash scripting.