#85 sliceOf cutting off last char if end size is larger than string length