strcat_delim()strcat_delim()

连接 2 到 64 个参数(分隔符作为第一个参数提供)。Concatenates between 2 and 64 arguments, with delimiter, provided as first argument.

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

语法Syntax

strcat_delim(delimiter , argument1 , argument2 [ , argumentN ])strcat_delim(delimiter , argument1 , argument2 [ , argumentN ])

参数Arguments

  • delimiter:要用作分隔符的字符串表达式。delimiter : string expression, which will be used as separator.
  • argument1 ... argumentN:要连接的表达式。argument1 ... argumentN : Expressions to be concatenated.

返回Returns

参数(已使用 delimiter 连接到单个字符串)。Arguments, concatenated to a single string with delimiter .

示例Examples

print st = strcat_delim('-', 1, '2', 'A', 1s)

stst
1-2-A-00:00:011-2-A-00:00:01