String formatting? (ex. ints, space-padded, width = 3)

Offtopic: Math.floor(Math.random() * 500) is the same as Std.random(500) and '$value' (or "" + value) is usually faster than Std.string(value) for numeric types :wink:

2 Likes