M_Cyjb_StringView_Split_6 - CYJB/Cyjb GitHub Wiki
使用指定的分隔符将字符串视图拆分为子字符串视图。
Namespace: Cyjb
Assembly: Cyjb (in Cyjb.dll) Version: 1.0.23+7750dd8e971297c5fa962a3bee37fb78f72793f6
C#
public StringView[] Split(
string? separator,
StringSplitOptions options = StringSplitOptions.None
)
- separator
- Type: System.String
分割字符的字符串。 - options (Optional)
- Type: System.StringSplitOptions
拆分字符串视图的选项。
Type: StringView[]
拆分后的子字符串视图。