mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
8458cb2339
* Replace FUNC(stringRemoveWhiteSpace) with CBA_fnc_removeWhitespace, Depreacte ACE's * Use QFUNC * Bump required CBA version * Change remove version to 3.110.0
23 lines
471 B
Plaintext
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 ""
|