repeat Interface

public interface repeat

Builtin repeat overloading.

Calls

interface~~repeat~~CallsGraph interface~repeat repeat proc~srepeat_string_string srepeat_string_string interface~repeat->proc~srepeat_string_string
Help

Module Procedures

public elemental function srepeat_string_string(self, ncopies) result(repeated)

Arguments

Type IntentOptional AttributesName
class(string), intent(in) :: self

String to be repeated.

integer, intent(in) :: ncopies

Number of string copies.

Return Value type(string)

Repeated string.

Description

Concatenates several copies of an input string.