allow slicing on strings, just like on arrays