An object-oriented version (assuming mutable strings) might be:
A$.REP("123", 4, 0)
So the syntax is weird, but the concept isn't totally unusual. A$.REP("123", 4, 0)
So the syntax is weird, but the concept isn't totally unusual.