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: DotNumerics.FortranLibrary
Assembly: DWSIM.MathOps.DotNumerics (in DWSIM.MathOps.DotNumerics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static string REPEAT(
	string s,
	int ncopies
)
Request Example View Source

Parameters

s  String
ncopies  Int32
 

Return Value

String
Remarks
From Intel Fortran Language Reference
See Also