Add String.lengthdb().Optimise if/else.