shithub: mc

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