All ChallengesLoading...
Not Solved

Concatenate with custom separator

Write a function that joins a list of strings using a custom separator. The separator is provided as an additional argument.
Beginner
sample input: ["apple", "banana", "cherry"], "-" 
sample output: apple-banana-cherry
Loading...
Test Output: