SqlHelperEscapeLikeText Method |
Escapes characters for query which use LIKE pattern (%, _, [, ] and ^).
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax public static string EscapeLikeText(
string text
)
Parameters
- text
- Type: SystemString
Original input
Return Value
Type:
StringThe escaped string that can be used as pattern in a LIKE expression
See Also