Rob Prime wrote:You just gotta love that!
Nope, I never loved that, even when I was writing PDP-11 assembler code. Note the PDP-11 and later Vax has single hardware instructions to implement the critical
construct.
Using null delimited strings has been a huge source of evil bugs over the decades. And of course, it fails totally with non-ASCII data. The world is bigger than just the folks who speak English.