Skip to content

v1.1.0 New method `Slice` to make slice of a magic string safely

Latest
Compare
Choose a tag to compare
@huandu huandu released this 26 Apr 05:26

If we use built-in slice expression to slice a magic string, we may lose the attached data. To make slice of a magic string safely, we should call Slice instead.