Fortran.Replace String Method
Replaces a sequence of characters in a string.
Definition
Namespace: Extreme.Mathematics.LinearAlgebra.Implementation
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The string original with the character at position position replaced with replacement.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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
StringThe string original with the character at position position replaced with replacement.