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