strcat()

串連 1 到 64 個引數。

Syntax

strcat(argument1,argument2 [,argument3 ... ])

深入瞭解 語法慣例

參數

名稱 類型 必要 Description
argument1 ... argumentN 純量 (scalar) ✔️ 要串連的表達式。

注意

如果引數不是字串型別,則會強制將這些引數轉換成字串。

傳回

串連至單一字串的自變數。

範例

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

輸出

字串
hello world