strcat()strcat()

连接 1 到 64 个参数。Concatenates between 1 and 64 arguments.

  • 如果参数不是字符串类型,则会将它们强制转换为字符串。If the arguments aren't of string type, they'll be forcibly converted to string.

语法Syntax

strcat(argument1 , argument2 [, argumentN ])strcat(argument1 , argument2 [, argumentN ])

参数Arguments

  • argument1 ... argumentN:要连接的表达式。argument1 ... argumentN : Expressions to be concatenated.

返回Returns

参数(已连接到一个字符串)。Arguments, concatenated to a single string.

示例Examples

print str = strcat("hello", " ", "world")
strstr
hello worldhello world