serializeList

上次更新: 2023-08-17
  • 主題:
  • Journeys
    檢視有關此主題的更多資訊
  • 建立對象:
  • Experienced
    Developer

將第一個引數中指定的清單(任何型別)轉換為字串。 第二個引數代表要使用的分隔符號。 第三個引數是布林值,指出運算式的每個元素是否應該包含引號。

類別

清單

函式語法

serializeList(<parameters>)

參數

參數 類型
字串 字串
布林值 布林值
DateTimeOnly DateTimeOnly
清單 listString
清單 listBoolean
清單 listPoint
清單 listDecimal
清單 listDuration
清單 listDateTime
清單 listDateTimeOnly
清單 listDateOnly

簽章與傳回的型別

serializeList(<listInteger>,<string>,<boolean>)

serializeList(<listDecimal>,<string>,<boolean>)

serializeList(<listString>,<string>,<boolean>)

serializeList(<listBoolean>,<string>,<boolean>)

serializeList(<listDateTimeOnly>,<string>,<boolean>)

serializeList(<listDateTime>,<string>,<boolean>)

serializeList(<listDateOnly>,<string>,<boolean>)

serializeList(<listDuration>,<string>,<boolean>)

serializeList(<listPoint>,<string>,<boolean>)

傳回字串。

範例

serializeList(["Hello","World"], " ", false)

傳回「Hello World」。

serializeList(["Hello", "World"], ",", true)

傳回"Hello"、"World"。

此頁面上的