BIS fnc inString: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Function " to "{{RV|type=function ") |
Lou Montana (talk | contribs) m (Text replacement - " " to " ") |
||
Line 24: | Line 24: | ||
| [[find]], [[BIS_fnc_filterString]], [[splitString]], [[joinString]] | | [[find]], [[BIS_fnc_filterString]], [[splitString]], [[joinString]] | ||
}} | }} | ||
[[Category:Functions|{{uc:inString}}]] | [[Category:Functions|{{uc:inString}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:inString}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:inString}}]] |
Revision as of 22:10, 31 January 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Strings
Syntax
- Syntax:
- Syntax needed
- 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:
- Return value needed
Examples
- Example 1:
["rabbit", "I ate a rabbit today"] call BIS_fnc_inString // will return true
- Example 2:
["RaBbiT", "I ate a rabbit today"] call BIS_fnc_inString // will return true
- Example 3:
["RaBbiT", "I ate a rabbit today", true] call BIS_fnc_inString // will return false because of case sensitivity
Additional Information
- See also:
- See also needed
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