shithub: mc

ref: 9892228031c0ffcfa95a1443fc565b031525bb3a
dir: /test/strjoin.myr/

View raw version
use std

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