Fixed 'SubStr()' bug when extracting last char of string due
to invalid 'StartingPos' param value. v1.1 should be 0 and
v2.0-a should be -1.