Return part of a string, like PHP's substr() function.
start- Optional, the offset of first byte returned. If start is negative, the returned string will start at the start'th character from the end of string.
size- Optional, number of bytes returned. If size is negative, then that many characters will be omitted from the end of string.
The extracted part of the string.