Export (0) Print
Expand All

String.TrimEnd Method

.NET Micro Framework 3.0
Removes all occurrences of a specified array of Unicode characters from the end of the current String object.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

[MethodImplAttribute]
public string TrimEnd (
         char[] trimChars
)

Parameters

trimChars
[ParamArrayAttribute] The array of Unicode characters to be removed from the end of the current String object, or a null reference.

Return Value

The String object that remains after all occurrences of the characters specified in the trimChars parameter have been removed from the end of the string. If trimChars is a null reference, white-space characters are removed instead.

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

Community Additions

ADD
Show:
© 2014 Microsoft