Bridge

String..::..TrimEnd Method (array<Char>[]()[][])

Removes all trailing occurrences of a set of characters specified in an array from the current String object.

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

Syntax


[TemplateAttribute]
public string TrimEnd(
	params char[] values
)
<TemplateAttribute> _
Public Function TrimEnd ( _
	ParamArray values As Char() _
) As String
[TemplateAttribute]
public:
String^ TrimEnd(
	... array<wchar_t^>^ values
)

Parameters

values
Type: array<System..::..Char>[]()[][]

Return Value

The string that remains after all occurrences of the characters in the trimChars parameter are removed from the end of the current string. If trimChars is null or an empty array, Unicode white-space characters are removed instead. If no characters can be trimmed from the current instance, the method returns the current instance unchanged.