Implemented string_substring() function.