ACE3/addons/common/functions/fnc_stringRemoveWhiteSpace.sqf
jonpas 8458cb2339 Replace ace_common_fnc_stringRemoveWhiteSpace with CBA_fnc_removeWhitespace (#4222)
* Replace FUNC(stringRemoveWhiteSpace) with CBA_fnc_removeWhitespace, Depreacte ACE's

* Use QFUNC

* Bump required CBA version

* Change remove version to 3.110.0
2016-09-30 15:51:03 +02:00

23 lines
471 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"];
ACE_DEPRECATED(QFUNC(stringRemoveWhiteSpace),"3.10.0","CBA_fnc_removeWhitespace");
(_string splitString " ") joinString ""