repeat

Repeats a string n times

  1. string repeat(string s, long n)
    pure nothrow @safe
    string
    repeat
    (
    ref string s
    ,
    long n
    )
  2. string repeat(string s, long n)

Parameters

s string

The string that should be repeated

n long

The amount of times it should be repeated

Return Value

Type: string

The string repeated n times

Meta