Repeats the character sequence hold by the string by the number of specified copies.
This method is elemental and returns a scalar character value.
Repeats the character sequence hold by the string by the number of specified copies.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string_type), | intent(in) | :: | string | |||
| integer, | intent(in) | :: | ncopies |