strchr has no time complexity guarantees, by the way. This behavior is strictly correct.
The best kind of correct!
The best kind of correct!