M_Cyjb_StringView_Replace - CYJB/Cyjb GitHub Wiki
返回一个新的字符串视图,将当前字符串视图中的指定字符替换为其它字符。
Namespace: Cyjb
Assembly: Cyjb (in Cyjb.dll) Version: 1.0.23+7750dd8e971297c5fa962a3bee37fb78f72793f6
C#
public StringView Replace(
char oldChar,
char newChar
)
- oldChar
- Type: System.Char
要替换的字符。 - newChar
- Type: System.Char
要替换到的字符。
Type: StringView
替换后的字符串视图。
查找时使用区分大小写和不区分区域性的序列比较。