ee.Filter.stringContains
Creates a unary or binary filter that passes if the left operand, a string, contains the right operand, also a string.
Usage | Returns |
---|
ee.Filter.stringContains(leftField, rightValue, rightField, leftValue) | Filter |
Argument | Type | Details |
---|
leftField | String, default: null | A selector for the left operand. Should not be specified if leftValue is specified. |
rightValue | Object, default: null | The value of the right operand. Should not be specified if rightField is specified. |
rightField | String, default: null | A selector for the right operand. Should not be specified if rightValue is specified. |
leftValue | Object, default: null | The value of the left operand. Should not be specified if leftField is specified. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["Creates a filter that checks if a string contains another string."],["This filter can be used to compare strings from two properties (fields) or a property and a given value."],["Either `leftField`/`rightValue` or `rightField`/`leftValue` pairs must be provided but not both."],["The returned filter is either unary (operating on a single input) or binary (operating on two inputs)."]]],[]]