Fortran.Replace Char Method
Replaces a character 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 ReplaceChar(
string original,
int position,
char replacement
)
Parameters
- original String
- The original string.
- position Int32
- The zero-based position of the character to replace.
- replacement Char
- The replacement character.
Return Value
StringThe string original with the character at position position replaced with replacement.