s$ = ArrayToStr(t[, encoding])
t
, appends
them to a string and returns this string. ArrayToStr()
will stop reading
values from t
once it encounters a code point of 0 (string terminator) or
the end of the table.
The optional encoding
parameter can be used to set the character encoding
to use. This defaults to the default string encoding set using SetDefaultEncoding().
See Character encodings for details.
To convert strings into arrays, you can use the function StrToArray(). See StrToArray for details.
s$ = ArrayToStr({'H', 'e', 'l', 'l', 'o'}) DebugPrint(s$)Prints "Hello".