參考手冊

DTW_CONCAT


AIX HP-UX Linux OS/2 OS/390 OS/400 PTX SUN Win NT
X X X X X X X X X

目的

連接兩個字串。

格式

@DTW_CONCAT(stringIn1, stringIn2, stringOut)

@DTW_rCONCAT(stringIn1, stringIn2)

參數

表 78. DTW_CONCAT 參數
資料類型 參數 使用 說明
字串 stringIn1 IN 一個變數或文字字串。
字串 stringIn2 IN 一個變數或文字字串。
字串 stringOut OUT 包含字串 'stringIn1stringIn2' 的變數,其中 string1string2 相連。

回覆碼

表 79. DTW_CONCAT 回覆碼
回覆碼 說明
-1001 伺服器無法處理 Net.Data 的配置記憶體要求。
1003 函數呼叫上傳遞的參數數目不正確。
1005 函數呼叫上傳遞的參數必須是字串變數,但卻是不同的變數類型。
1006 文字字串傳遞給函數呼叫中的參數, 但此參數必須是輸出參數。

範例

範例 1

@DTW_CONCAT("This", " is a test.", result)

範例 2

@DTW_CONCAT(string1, "1-2-3", result)

範例 3

@DTW_rCONCAT("This", " is a test.")


[ 頁面頂端 | 前一頁 | 下一頁 | 目錄 | 索引 ]