repeat Interface

public interface repeat

Builtin repeat overloading.

Calls

interface~~repeat~~CallsGraph interface~repeat stringifor_string_t::repeat proc~srepeat_string_string stringifor_string_t::string%srepeat_string_string interface~repeat->proc~srepeat_string_string

Contents


Module Procedures

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

Concatenates several copies of an input string.

Read more…

Arguments

Type IntentOptional Attributes Name
class(string), intent(in) :: self

String to be repeated.

integer, intent(in) :: ncopies

Number of string copies.

Return Value type(string)

Repeated string.