From Bohemia Interactive Community
Hover & click on the images for description
Description
- Description:
- Find a string within a string.
- Execution:
- call
- Groups:
- Strings
Syntax
- Syntax:
- [searchTerm, searchText, caseSensitive] call BIS_fnc_inString
- Parameters:
- searchTerm: String - string to find
- searchText: String - string to search in
- caseSensitive (optional): Boolean - defines whether the search is case-sensitive (true) or not (false, by default)
- Return Value:
- Boolean - true if search term is found, false if not
Examples
- Example 1:
- Example 2:
- Example 3:
Additional Information
- See also:
- find BIS_fnc_filterString splitString joinString
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here!
Add Note