StringSegment.Split(Char[]) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Splits a string into StringSegments that are based on the characters in an array.
public:
Microsoft::Extensions::Primitives::StringTokenizer Split(cli::array <char> ^ chars);
public Microsoft.Extensions.Primitives.StringTokenizer Split(char[] chars);
member this.Split : char[] -> Microsoft.Extensions.Primitives.StringTokenizer
Public Function Split (chars As Char()) As StringTokenizer
- chars
- Char[]
A character array that delimits the substrings in this string, an empty array that contains no delimiters, or null.
An StringTokenizer whose elements contain the StringSegments from this instance
that are delimited by one or more characters in chars
.
Продукт | Версии |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Standard | 2.0 (package-provided) |
Отзыв о .NET
.NET — это проект с открытым исходным кодом. Выберите ссылку, чтобы оставить отзыв: