i'm trying to do a method like this
"String",number of the Character, number of repetisions
repeatAtFrontAndEnd("Hello", 2, 1) → "HeHelloHe"
repeatAtFrontAndEnd("Hello", 1, 3) → "HHHHelloHHH"
repeatAtFrontAndEnd("Hi There", 3, 2) → "Hi Hi Hi ThereHi Hi "
if anybody can help me :D