Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
StartsWith Method
Collapse the table of content
Expand the table of content

String.StartsWith Method

Determines whether the beginning of an instance of String matches a specified string.

Name Description
String.StartsWith (String) Determines whether the beginning of this instance matches the specified string.

Supported by the .NET Compact Framework.

String.StartsWith (String, StringComparison) Determines whether the beginning of this string matches the specified string when compared using the specified comparison option.

Supported by the .NET Compact Framework.

String.StartsWith (String, Boolean, CultureInfo) Determines whether the beginning of this string matches the specified string when compared using the specified culture.

Community Additions

ADD
Show:
© 2015 Microsoft