shithub: mc

ref: 3b5584581a79cec899c7f6a5233529a64a22ab5f
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[:], ":"))
}