pierremgi 4840 Posted December 11, 2018 Hi all, Just discovered that count command can return a result (sum of elements? no) for a simple "container" class. Example: count uniform player count backPack player count typeOf myCrate Sorry. Probably useless. Share this post Link to post Share on other sites
Schatten 284 Posted December 11, 2018 @pierremgi, string length? 1 Share this post Link to post Share on other sites
HallyG 239 Posted December 11, 2018 This will return how many characters there are in a string which is an alternate syntax already documented. Share this post Link to post Share on other sites
Grumpy Old Man 3545 Posted December 11, 2018 13 minutes ago, pierremgi said: Hi all, Just discovered that count command can return a result (sum of elements? no) for a simple "container" class. Example: count uniform player count backPack player count typeOf myCrate Sorry. Probably useless. What @Schatten said, uniform player returns a string, count returns the amount of letters of that string. Cheers Share this post Link to post Share on other sites
pierremgi 4840 Posted December 11, 2018 Ach yes. Closed. Share this post Link to post Share on other sites
killzone_kid 1329 Posted December 14, 2018 https://community.bistudio.com/wiki/count Quote Can be used to count: the number of elements in array the number of elements in array with condition the number of sub-entries in a config object the number of characters in a string (since ["Arma 3","Arma3",127,126674,"Development"]) Share this post Link to post Share on other sites