SqlHelpers.GetStringStartsWithPattern(String, Char) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a search pattern string where the specified text can have other text after it but not before it.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
static System::String ^ GetStringStartsWithPattern(System::String ^ text, char escape);
public static string GetStringStartsWithPattern (string text, char escape);
static member GetStringStartsWithPattern : string * char -> string
Public Shared Function GetStringStartsWithPattern (text As String, escape As Char) As String
Parameters
- text
- String
The string to insert into the search pattern string.
- escape
- Char
The character to use to escape wildcard characters.
Returns
A search pattern string that contains the specified string followed by the '%' character.