Create Substr

The dual purpose of the Substr() function is illustrated in the above code.
The difference, when the substr function is used on the right-side 
and on the left-side can be observed in the code.