shithub: mc

ref: 53f937aeaa1ad2320f61c63933e24f2f6f1f326f
dir: /test/strjoin.myr/

View raw version
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[:], ":"))
}