User Manual

06.26.2025

MANUAL

Developer Function: Server Script: $ps.CSV.csv2str

## Overview Converts a two-dimensional array object to a string in the "[Server Script](/en/manual/table-management-server-script)". ## Syntax ``` $ps.CSV.csv2str(csv) ``` ## Parameters |Parameter|Type|Required|Description| |:----------|:----------|:---:|:---------------------------| |csv|object|Yes|Object| ## Return Value Returns the converted string separated by commas. ## Exceptions If an exception occurs in C#, the server script will generate an exception by putting the exception class name and error message into the Error object. ## Usage Example In the following example, a two-dimensional array object is converted to a string and output to the console. ##### JavaScript ``` const csv = [ ['label', 'nnum1', 'num2'], ['a', '1', '3'], ['b', '2', '4'], ]; const text = $ps.CSV.csv2str(csv); context.Log(text); ``` ##### Example output ``` label,nnum1,num2 a,1,3 b,2,4 ``` ## Supported Versions |Supported versions|Body| |:--|:--| |1.4.12.0 or later|Added function| ## Related Information <div id="ManualList"><ul><li><a href="/en/manual/table-management-server-script">Table Management: Server Script</a><span>08.13.2024 up</span></li></ul></article></div><input id="SearchTextHidden" type="hidden" value="" />
TOP
このページをシェアする
記載された商品名、各製品名は各社の登録商標または商標です。 © Implem Inc.