經安全檢測,此網站為安全網站,請放心前往原始網址!

Repeat a string - Rosetta Code

Take a string and repeat it some number of times. Example: repeat("ha", 5) => "hahahahaha" If there is a simpler/more efficient way to repeat a single “character” (i.e. creating a string filled with a certain character), you might want to show that as wel

rosettacode.org

網址安全性掃描由 google 提供