Click or drag to resize

FortranLibREPEAT Method

REPEAT Description: Concatenates several copies of a string. Syntax: result = REPEAT (string, ncopies) Class: Transformational function; Generic Arguments: string Must be scalar and of type character. ncopies Must be scalar and of type integer. It must not be negative. Results: The result is a scalar of type character and length ncopies x LEN(string). The kind parameter is the same as string. The value of the result is the concatenation of ncopies copies of string. Examples REPEAT ('S', 3) has the value SSS. REPEAT ('ABC', 0) has the value of a zero-length string.

Namespace: Altaxo.Calc.Ode.Obsolete
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static string REPEAT(
	string s,
	int ncopies
)

Parameters

s  String
The string to repeat.
ncopies  Int32
The number of repetitions to create.

Return Value

String
A new string consisting of s repeated ncopies times.
Remarks
From Intel Fortran Language Reference
See Also