Epoch/Sources/epoch_code/compile/EPOCH_replaceWord.sqf
2016-01-28 13:36:35 -06:00

17 lines
450 B
Plaintext

/*
Author: Aaron Clark - EpochMod.com
Contributors:
Description:
code to replace string in word
Licence:
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
Github:
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/compile/EPOCH_replaceWord.sqf
*/
params ["_STRING","_needle","_replace"];
_STRING splitString _needle joinString _replace