Checks if buffer starts with specified string.

Namespace: Jscape.Email
Assembly: Jscape.Email (in Jscape.Email.dll) Version: 2.4.5.0

Syntax

C#
public bool StartsWith(
	string str,
	string encoding
)
Visual Basic
Public Function StartsWith ( _
	str As String, _
	encoding As String _
) As Boolean
Visual C++
public:
bool StartsWith(
	String^ str, 
	String^ encoding
)

Parameters

str
Type: System..::..String
The string to search for.
encoding
Type: System..::..String
The encoding to use with the search.

Return Value

CopyC#
true
if buffer starts with specified string,
CopyC#
false
otherwise.

See Also