shithub: mc

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