<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.osgrid.org/index.php?action=history&amp;feed=atom&amp;title=LlDumpList2String</id>
	<title>LlDumpList2String - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.osgrid.org/index.php?action=history&amp;feed=atom&amp;title=LlDumpList2String"/>
	<link rel="alternate" type="text/html" href="http://wiki.osgrid.org/index.php?title=LlDumpList2String&amp;action=history"/>
	<updated>2026-10-25T11:53:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>http://wiki.osgrid.org/index.php?title=LlDumpList2String&amp;diff=104&amp;oldid=prev</id>
		<title>Osgridadmin: Created page with &quot;==Function: string llDumpList2String( list src, string separator );== Returns a string that is the list src converted to a string with separator between the entries. &lt;br&gt; •...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.osgrid.org/index.php?title=LlDumpList2String&amp;diff=104&amp;oldid=prev"/>
		<updated>2017-12-30T18:03:44Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Function: string llDumpList2String( list src, string separator );== Returns a string that is the list src converted to a string with separator between the entries. &amp;lt;br&amp;gt; •...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Function: string llDumpList2String( list src, string separator );==&lt;br /&gt;
Returns a string that is the list src converted to a string with separator between the entries. &amp;lt;br&amp;gt;&lt;br /&gt;
• list 	src 			 &amp;lt;br&amp;gt;&lt;br /&gt;
• string 	separator 		 &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;	&lt;br /&gt;
Use [[llParseString2List]] or [[llParseStringKeepNulls]] to undo the process. &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
Unlike [[llList2CSV]] , which dumps a list to a comma-separated formatted string with no choice over the separator, [[llDumpList2String]] gives you more control. This can be useful if you don&amp;#039;t trust commas as a separator because you might be working with data supplied to the script by a user who uses, say, commas as part of a street address. &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Examples&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|&amp;lt;source lang=&amp;quot;lsl&amp;quot;&amp;gt;&lt;br /&gt;
list mylist = [&amp;quot;a&amp;quot;, &amp;quot;b&amp;quot;, &amp;quot;c&amp;quot;, &amp;quot;d&amp;quot;];&lt;br /&gt;
string tmp = llDumpList2String(mylist, &amp;quot; ** &amp;quot;);&lt;br /&gt;
//tmp now equals: &amp;quot;a**b**c**d&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|&amp;lt;source lang=&amp;quot;lsl&amp;quot;&amp;gt;&lt;br /&gt;
list mylist = [&amp;lt;10,5,7&amp;gt;, 100, &amp;quot;c&amp;quot;, &amp;quot;d&amp;quot;];&lt;br /&gt;
string tmp = llDumpList2String(mylist, &amp;quot;**&amp;quot;);&lt;br /&gt;
//tmp now equals: &amp;quot;&amp;lt;10,5,7&amp;gt;**100**c**d&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|&amp;lt;source lang=&amp;quot;lsl&amp;quot;&amp;gt;&lt;br /&gt;
default{&lt;br /&gt;
    state_entry(){&lt;br /&gt;
        list my_list = [1, 2.0, &amp;quot;a string&amp;quot;, llGetOwner()];&lt;br /&gt;
        llOwnerSay(&amp;quot;&amp;lt;&amp;quot; + llDumpList2String(my_list,&amp;quot;&amp;gt;&amp;lt;&amp;quot;) + &amp;quot;&amp;gt;&amp;quot;);        &lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
See Also &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Functions&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
• [[llParseString2List]] &amp;lt;br&amp;gt;&lt;br /&gt;
• [[llParseStringKeepNulls]] &amp;lt;br&amp;gt;&lt;br /&gt;
• [[llCSV2List]] &amp;lt;br&amp;gt;&lt;br /&gt;
• [[llList2CSV]]  &amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Osgridadmin</name></author>
	</entry>
</feed>