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#




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


B.Tech / MCA