summaryrefslogtreecommitdiff
path: root/test/strjoin.myr
blob: cde44c627114fb81de30b5f0de241c227c21d735 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
use std

const main = {
	const strings = [
	    "x",
	    "y",
	    "z",
	    "w"
	]
	std.put("%s\n", std.strcat("foo;", "bar"))
	std.put("%s\n", std.strjoin(strings[:], ""))
	std.put("%s\n", std.strjoin(strings[:], ":"))
}