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





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA