Click or drag to resize

FunctionContains Method

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.0.0-b0295
Syntax
C#
public static IFunction Contains(
	Object str,
	Object item
)

Parameters

str
Type: SystemObject
The string or expression that evaluates to a string to search
item
Type: SystemObject
The string or expression that evaluates to a string to search for

Return Value

Type: IFunction
A function that will return true if the string contains the other, or false if it does not
See Also