> I had the same code from pre-0.18.0 and it worked with ^0, This reminds me of [this issue](https://github.com/nim-lang/Nim/issues/7444).
The previous behaviour, where null terminator is ignored, is just wrong. You should change your program and use `^1` for the last character. * * * Btw, since it seems that at least two of you use(d) `^0`, can I ask the rationale behind it? If you want something until the third-from-last character you use `..^3`, second-from-last character `..^2`, but if you want until the last character, you suddenly skip one number and use `..^0`?
