JavaScript erstellen
var str = 'character'.repeat(desiredLength)
Uninterested Unicorn
var str = 'character'.repeat(desiredLength)
var str = new Array(len + 1).join( character );