Cuemon .NET Framework
Remove(String,StringComparison,String[]) Method

The source to delete occurrences found in filter.
One of the enumeration values that specifies the rules to use in the comparison.
The filter containing the characters and/or words to delete.
Returns a new string in which all the specified filter values has been deleted from the specified source.
Syntax
'Declaration
 
Public Overloads Shared Function Remove( _
   ByVal source As String, _
   ByVal comparison As StringComparison, _
   ByVal ParamArray filter() As String _
) As String
public static string Remove( 
   string source,
   StringComparison comparison,
   params string[] filter
)

Parameters

source
The source to delete occurrences found in filter.
comparison
One of the enumeration values that specifies the rules to use in the comparison.
filter
The filter containing the characters and/or words to delete.

Return Value

A new string that is equivalent to source except for the removed characters and/or words.
Requirements

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

Reference

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