title: How to separate values from a list using commas in netlogo?
body: <p>Situation: I have a code that exports turtle coordinates according to the code below:</p>
  <pre><code>to path
    file-open (word fileName &quot;.csv&quot;)
    file-print (word self xcor &quot; &quot; ycor)
    file-close
  end
  </code></pre>
  <p>The result is something like:</p>
  <pre><code>(turtle 1)[1 1 1 1 1 2] [4 4 4 2 1 5]
  </code></pre>
  <p>Question: How can I export this same list, but with its items separated by commas?
  From <code>[1 2 1 1 1]</code> to <code>[1,2,1,1,1]</code>, for example.</p>
  <p>Thanks in advance</p>