do not copy underlying bytes in substr function

Conflicts:
	CHANGES.txt