From Bohemia Interactive Community
					 
					
					
					
					
Hover & click on the images for description
 
Description
- Description:
 
- Splits given string according to given separator(s).
 
- Execution:
 
- call
 - Groups:
 
- Strings
 
Syntax
- Syntax:
 
- [stringToSplit, separators, byWord] call BIS_fnc_splitString
 - Parameters:
 
- stringToSplit: String
 
- separators: String - (Optional, default "") by default each letter is a separator. If byWord is set to true, the separator will be treated as whole word
 
- byWord: Boolean - (Optional, default false) by default uses splitString behaviour e.g. each letter is a separator. If set to true, the separator will be treated as whole word
 - Return Value:
 
- Array of Strings
 
Examples
- Example 1:
 - Example 2:
 - Example 3:
 - Example 4:
 
Additional Information
- See also:
 
- splitString toArray toString
 
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