shithub: mc

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