REPEAT(3f)

DESCRIPTION
Concatenates NCOPIES copies of a string.

STANDARD
Fortran 95 and later

CLASS
Transformational function

SYNTAX
RESULT = REPEAT(STRING, NCOPIES)

ARGUMENTS

STRING Shall be scalar and of type CHARACTER. NCOPIES Shall be scalar and of type INTEGER.

RETURN VALUE
A new scalar of type CHARACTER built up from NCOPIES copies of STRING.

EXAMPLE
          program test_repeat
            write(*,*) repeat("x", 5) ! "xxxxx"
          end program

AUTHOR

This information was taken from the GFortran documentation (https://gcc.gnu.org/onlinedocs/gcc-5.3.0/gfortran/) and converted to a manpage by AstroFloyd (http://astrofloyd.org).