Modifies array in-place so that slice is replaced by replacement[].
WARNING: it's you who is responsible that slice is indeed a slice of s.
See Implementation
Modifies array in-place so that slice is replaced by replacement[].
WARNING: it's you who is responsible that slice is indeed a slice of s.