Skip to content

Files

Latest commit

 

History

History
40 lines (27 loc) · 922 Bytes

ifarrayjoin.md

File metadata and controls

40 lines (27 loc) · 922 Bytes

ifArrayJoin

Implemented by

Name Description
roArray Returns information about the application

Supported methods

Join(separator as String) as String

Description

Creates a string by joining all array elements together separated by the specified separator. All elements must be of type string; otherwise, an empty string is returned

Parameters

Name Type Description
separator String The string used to separate elements in an array.

Return Value

A String containing the array elements.

Examples

    a = ["ant","bat","cat"] 
    s = a.Join(",")
    print """" + s + """"
    REM "ant,bat,cat"

    a = "abc".Split("")
    s = a.Join("--")
    print """" + s + """"
    REM "a--b--c"