Home » C# String Split() method

C# String Split() method

by Online Tutorials Library

C# String Split()

The C# Split() method is used to split a string into substrings on the basis of characters in an array. It returns string array.

Signature

Parameter

ch: it is a character type array.

Return

It returns array of string


C# String Split() Method Example

Output:

Hello C Sharp 

You may also like