Mono Class Library: System.String Overview | Members

System.String.TrimEnd Method

Removes all occurrences of a set of characters specified in a Unicode character Array from the end of the current instance. [Edit]

public string TrimEnd (params char[] trimChars)

Parameters

trimChars
An array of Unicode characters. Can be a null reference. [Edit]

Returns

A new string equivalent to the current instance with characters in trimChars removed from its end. If trimChars is a null reference, white space characters are removed. [Edit]

Remarks

Documentation for this section has not yet been entered. [Edit]

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0