shithub: mc

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