Cuemon .NET Framework
TrimAll(String,Char[]) Method

A System.String value.
An array of Unicode characters to remove.
Removes all occurrences of a set of characters specified in trimChars from the specified value.
Public Overloads Shared Function TrimAll( _
   ByVal value As String, _
   ByVal ParamArray trimChars() As Char _
) As String
public static string TrimAll( 
   string value,
   params char[] trimChars


A System.String value.
An array of Unicode characters to remove.

Return Value

The string that remains after all occurrences of the characters in the trimChars parameter are removed from the specified value.
System.ArgumentNullExceptionvalue is null.

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


StringUtility Class
StringUtility Members
Overload List



| Cuemon is licensed under a The MIT License (MIT)

© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback