combine
Description
Combines elements in a list into a string of text using a delimiter.
Input / Parameter
Output
Example
In this example, we will turn a list into a comma-separated string and print the result in the console.
Step
Drag a
button
component to the canvas and open theAction
tab. Select thepress
event of the button and drag theLog.write
function to the event flow.Call the function
List.combine
inside theLog.write
function.Then call the function
Conversion.toList
inside thedata
parameter of theList.combine
function. Add a "," in thedelimiter
parameter.Enter the values of the list to concatenate into a string in the
Conversion.toList
function.
Result
The console will print the concatenated string of text.
In this example, the value printed will be
3,1,5
.
Links
Related Information
See also:
Functions
Last updated