{"name":"BIS_fnc_inString","title":"BIS fnc inString","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_inString","revid":379499,"updated":"2026-10-31T00:26:54Z","groups":["Strings"],"status":"deprecated","replaced_by":["find","in"],"games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","description":"> [!CAUTION]\n> This information is **obsolete**. Reason: See find and in commands's alternative syntaxes that replace this function.\n\nFind a string within a string.","syntaxes":[{"syntax":"[searchTerm, searchText, caseSensitive] call BIS_fnc_inString","params":[{"name":"searchTerm","type":"String","description":"string to find","type_expr":"String"},{"name":"searchText","type":"String","description":"string to search in","type_expr":"String"},{"name":"caseSensitive","type":"Boolean","optional":true,"default":"false","description":"defines whether the search is case-sensitive (true) or not (false)","type_expr":"Boolean","text":"caseSensitive: Boolean - (Optional, default false) defines whether the search is case-sensitive (true) or not (false)"}],"returns":{"type":"Boolean","type_expr":"Boolean","description":"true if search term is found, false if not"}}],"examples":[{"code":["[\"rabbit\", \"I ate a rabbit today\"] call BIS_fnc_inString // will return true"]},{"code":["[\"RaBbiT\", \"I ate a rabbit today\"] call BIS_fnc_inString // will return true"]},{"code":["[\"RaBbiT\", \"I ate a rabbit today\", true] call BIS_fnc_inString // will return false because of case sensitivity"]}],"see_also":["find","BIS_fnc_filterString","splitString","joinString"]}