跳转到内容

concat

string  concat(string s1, string s2, ...)

将参数连接成一个字符串。

这等同于 s1 + s2 + s3 ...。 但当连接超过2个字符串时,concat() 效率会略高一些。