Home » C# String TrimStart() method

C# String TrimStart() method

by Online Tutorials Library

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# 

You may also like