shithub: mc

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