Contains Method

HttpServer.dll

Checks wether a string contains a specific character.

Namespace:  HttpServer.Helpers
Assembly:  HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static bool Contains(
	string s,
	char ch
)
Visual Basic (Declaration)
Public Shared Function Contains ( _
	s As String, _
	ch As Char _
) As Boolean
Visual C++
public:
static bool Contains(
	String^ s, 
	wchar_t ch
)

Parameters

s
Type: System..::.String
source
ch
Type: System..::.Char
character to find.

Return Value

true if found; otherwise false.

See Also