Name

Split Function — Microsoft.VisualBasic.Strings

Synopsis

Split(expression, [delimiter[, limit[, compare]]])
expression required; String

A string to be broken up into multiple strings.

delimiter optional; String

The character used to delimit the substrings in expression.

limit optional; Integer

The maximum number of strings to return.

compare optional; CompareMethod Constant

The method of comparison. Possible values are CompareMethod.Binary (the default) or CompareMethod.Text.

Return Value

A String array containing the substrings of expression delimited by delimiter

Description

Parses a single string containing delimited values into an array.

Get VB.NET Language Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.