Javatpoint Logo
Javatpoint Logo

C# String TrimStart()

The C# TrimStart() method id used to remove all leading occurrences of a set of characters specified in an array from the current String object.

Signature

Parameter

ch: it is a char array type parameter.

Return

It returns a string.


C# String TrimStart() Method Example

Output:

ello C#





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