IsPrefix Method

CompareInfo.IsPrefix Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Determines whether a string starts with a specific prefix.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method IsPrefix(String, String) Determines whether the specified source string starts with the specified prefix.
Public method IsPrefix(String, String, CompareOptions) Determines whether the specified source string starts with the specified prefix using the specified CompareOptions value.
Top

Show:
© 2017 Microsoft