number: speed-up: don't call strlen() in a loop.

strlen() was being called every time the loop looped (assuming it
wasn't optimized by the compiler). This patch calls it once, stores
the length in a variable, and only checks against the variable.