endsWith( )


Refines a query to match items whose specified property value ends with a specified string.

The endsWith() function refines a GroupsQueryBuilder to only match items where the value of the specified property ends with a specified string. Matching with endsWith() is case-sensitive, so "TEXT" does not end with "ext".

You can only use endsWith() with a property whose value is a String.

Method Declaration
Copy
Method Parameters
propertyNamestringRequired

The property whose value will be compared with value.

Supported property:

  • name

valuestringRequired

The value to match against.

Returns
Return Type:GroupsQueryBuilder
Was this helpful?
Yes
No