`slice` returns the sliced character and doesn't modify the string it's called on, so I don't think this will work.