武装突袭 Wiki
Advertisement
  

点击图片可看到更多讯息

开始使用于

游戏:
Armed Assault
版本:
1.09

描述

描述:
Converts the supplied Array of Numbers into a String.
The numbers in the array to be converted are the decimal Unicode representations of characters.

基本句法

句法:
toString array
参数:
array: Array
返回值:
String

范例

范例1:
hint toString [65,97,338]; returns "AaŒ"
范例2:
["test","test"] joinString toString [12345] splitString toString [12345]; // ["test","test"]

额外资讯

多人游戏:
-
也可以看看:
setresizereverseselectinfindtoArrayforEachcountdeleteAtdeleteRangeappendsortparamparamsarrayIntersectsplitStringjoinStringUnicode Character Table

注意事项

此处撰写句法皆为可行用法. 可到官网[1]专页回报错误. 你可以使用讨论页面或是论坛来进行讨论.
新增注意事项 | 如何新增?

Notes

Bottom Section

Posted on February 10, 2015 - 21:05 (UTC)
DreadedEntity
Tabs and new lines can be created with toString [9] and toString [10], respectively. Alternatively, a new line can also be created with toString [92,110] ("\n"). If you save these strings into a variable, they can be manipulated like any other string. For example, the following code will work just fine and return the expected output: _tab = toString [9]; for "_i" from 0 to 3 do { _tab = _tab + (toString [9]); }; copyToClipboard format ["x%1x",tab];
Posted on August 25, 2015 - 09:58 (UTC)
Killzone Kid
While you can convert any String to Array with toArray command, only numbers from 1 to 55295 (not 65535 as expected) can be successfully converted to String with toString and then back to Array with toArray without loss of data.
Advertisement