ACE3/addons/common/functions/fnc_stringRemoveWhiteSpace.sqf

21 lines
387 B
Plaintext

/*
* Author: Glowbal
* Removes whitespace from a string.
*
* Arguments:
* 0: String <STRING>
*
* Return Value:
* String Without Whitespace <STRING>
*
* Example:
* _stringWithoutWhitespace = ["String with whitespace"] call ace_common_fnc_stringRemoveWhiteSpace
*
* Public: Yes
*/
#include "script_component.hpp"
params ["_string"];
(_string splitString " ") joinString ""