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

The System.String to seek.
The System.Char sequence to search within source.
Returns a value indicating whether any of the specified values occurs within the source.
Public Overloads Shared Function Contains( _
   ByVal source As String, _
   ByVal ParamArray values() As Char _
) As Boolean
public static bool Contains( 
   string source,
   params char[] values


The System.String to seek.
The System.Char sequence to search within source.

Return Value

true if any of the values occurs within the source, or if value is the empty string (""); otherwise, false.
This method performs an ordinal (case-sensitive and culture-insensitive) comparison. The search begins at the first character position of this string and continues through the last character position.

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