Creates a function that will calculate if a given string is inside of another
in question
Namespace:
Couchbase.Lite.Query
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.1.0-b0232
Syntax public static IExpression Contains(
IExpression expression,
IExpression substring
)
Parameters
- expression
- Type: Couchbase.Lite.QueryIExpression
The string or expression that evaluates to a string to search - substring
- Type: Couchbase.Lite.QueryIExpression
The string or expression that evaluates to a string to search for
Return Value
Type:
IExpressionA function that will return true if the string contains the other, or false if it does not
See Also