Length check is fragile and breaking behaviour.
Skip leading whitespace.