ee.Filter.stringContains
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
यह एक यूनेरी या बाइनरी फ़िल्टर बनाता है. यह फ़िल्टर तब पास होता है, जब स्ट्रिंग के तौर पर मौजूद लेफ्ट ऑपरेंड में, स्ट्रिंग के तौर पर मौजूद राइट ऑपरेंड शामिल हो.
इस्तेमाल | रिटर्न |
---|
ee.Filter.stringContains(leftField, rightValue, rightField, leftValue) | फ़िल्टर |
आर्ग्यूमेंट | टाइप | विवरण |
---|
leftField | स्ट्रिंग, डिफ़ॉल्ट: null | यह बाईं ओर मौजूद ऑपरेंड के लिए सिलेक्टर है. अगर leftValue की वैल्यू दी गई है, तो इसका इस्तेमाल न करें. |
rightValue | ऑब्जेक्ट, डिफ़ॉल्ट: null | राइट ऑपरेंड की वैल्यू. अगर rightField की वैल्यू दी गई है, तो इसका इस्तेमाल न करें. |
rightField | स्ट्रिंग, डिफ़ॉल्ट: null | यह राइट ऑपरेंड के लिए सिलेक्टर है. अगर rightValue एट्रिब्यूट की वैल्यू दी गई है, तो इस एट्रिब्यूट की वैल्यू नहीं दी जानी चाहिए. |
leftValue | ऑब्जेक्ट, डिफ़ॉल्ट: null | लेफ़्ट ऑपरेंड की वैल्यू. अगर leftField की वैल्यू दी गई है, तो इसका इस्तेमाल न करें. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eCreates a filter that checks if a string contains another string.\u003c/p\u003e\n"],["\u003cp\u003eThis filter can be used to compare strings from two properties (fields) or a property and a given value.\u003c/p\u003e\n"],["\u003cp\u003eEither \u003ccode\u003eleftField\u003c/code\u003e/\u003ccode\u003erightValue\u003c/code\u003e or \u003ccode\u003erightField\u003c/code\u003e/\u003ccode\u003eleftValue\u003c/code\u003e pairs must be provided but not both.\u003c/p\u003e\n"],["\u003cp\u003eThe returned filter is either unary (operating on a single input) or binary (operating on two inputs).\u003c/p\u003e\n"]]],[],null,["# ee.Filter.stringContains\n\nCreates a unary or binary filter that passes if the left operand, a string, contains the right operand, also a string.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------------------------------------------------------------------------------|---------|\n| `ee.Filter.stringContains(`*leftField* `, `*rightValue* `, `*rightField* `, `*leftValue*`)` | Filter |\n\n| Argument | Type | Details |\n|--------------|-----------------------|---------------------------------------------------------------------------------------|\n| `leftField` | String, default: null | A selector for the left operand. Should not be specified if leftValue is specified. |\n| `rightValue` | Object, default: null | The value of the right operand. Should not be specified if rightField is specified. |\n| `rightField` | String, default: null | A selector for the right operand. Should not be specified if rightValue is specified. |\n| `leftValue` | Object, default: null | The value of the left operand. Should not be specified if leftField is specified. |"]]