4 ms·The easiest fix is to clone the String, then build a slice from the copy.by Cyph0n 7y agoThe easiest fix is to clone the String, then build a slice from the copy.