Generate strings that can sort between two other strings.
This is a Rust port of https://github.com/dashed/between2
MIT.