Javatpoint Logo
Javatpoint Logo

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




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA