mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
21 lines
387 B
Plaintext
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 ""
|