From 565f6c9c34e8f68c3bfd574e6cd48573f48359fc Mon Sep 17 00:00:00 2001 From: Killswitch Date: Thu, 3 Dec 2015 19:24:00 +0100 Subject: [PATCH] Shortened comment. Fixes #209 --- addons/strings/fnc_split.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/strings/fnc_split.sqf b/addons/strings/fnc_split.sqf index 30a555af5..d94208fb0 100644 --- a/addons/strings/fnc_split.sqf +++ b/addons/strings/fnc_split.sqf @@ -37,7 +37,7 @@ _split = []; _index = 0; _inputCount = count _input; _separatorCount = count _separator; -// Corner cases no longer handled well by splitString +// Corner cases if (_separatorCount == 0 && _inputCount == 0) exitWith {[]}; if (_separatorCount == 0) exitWith {_input splitString ""}; if (_inputCount > 0 && _separatorCount > _inputCount) exitWith {[_input]};