Fortran.ReplaceString Method

Replaces a sequence of characters in a string.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public static string ReplaceString(
	string original,
	int position,
	int length,
	string replacement
)

Parameters

original  String
The original string.
position  Int32
The zero-based position of the start of the sequence to replace.
length  Int32
The length of the sequcen to replace.
replacement  String
The replacement string.

Return Value

String
The string original with the character at position position replaced with replacement.

See Also