llList2CSV

From Second Life Wiki
Revision as of 16:20, 14 July 2008 by Chaz Longstaff (talk | contribs) (added caveat)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Summary

Function: string llList2CSV( list src );

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 "Wikipedia logo"CSV format, it is not the CSV format. To reverse the process use llCSV2List.

Caveats

Remember to capture the result of the operation with a variable, unless you are planning to act directly on the results.

All Issues ~ Search JIRA for related Bugs

Examples

<lsl>default {

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

See Also

Functions

•  llCSV2List
•  llDumpList2String
•  llParseString2List
•  llParseStringKeepNulls

Articles

•  Typecast

Deep Notes

Search JIRA for related Issues

Signature

function string llList2CSV( list src );