3 ms·> String.substring in Java does exactly that. It used to - it doesn’t these days, where it now copies.by chrisseaton 7y ago> String.substring in Java does exactly that. It used to - it doesn’t these days, where it now copies.