LlList2CSV

From Second Life Wiki

(Redirected from LSL llList2CSV)
Jump to: navigation, search

Contents

Description

Function: string llList2CSV( list src );
195 Function ID
0.0 Delay
10.0 Energy

Returns a string of comma separated values taken in order from src.

• list src


More precisely the values are separated with a comma and a space (", ").
This function's functionality is equivalent to llDumpList2String(src, ", ");
Do not confuse this function with the CSV format, it is not the CSV format. To reverse the process use llCSV2List.

Examples

default
{
    state_entry()
    {
        list my_list = [1, 2.0, "a string", llGetPos(), llGetRot(), llGetOwner()];
        llOwnerSay(llList2CSV(my_list));        
    }
}

See Also

Functions

•  llCSV2List
•  llDumpList2String
•  llParseString2List
•  llParseStringKeepNulls

Articles

•  Typecast
Personal tools