[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

Javatpoint.com is changed to TpointTech.com

C# String Remove()

The C# Remove() method is used to get a new string after removing all the characters from specified beginIndex till given length. If length is not specified, it removes all the characters after beginIndex.

Signature

Parameter

index: it is an integer type parameter.

Return

It returns a string.


C# String Remove() Method Example

Output:

He

C# String Remove() Method Example 2

Output:

abcdjk