Click or drag to resize
SqlHelperEscapeLikeText Method
Escapes characters for query which use LIKE pattern (%, _, [, ] and ^).

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax
C#
public static string EscapeLikeText(
	string text
)

Parameters

text
Type: SystemString
Original input

Return Value

Type: String
The escaped string that can be used as pattern in a LIKE expression
See Also