title: How can delete all the spaces and sends in prolog file?
body: <p>I want to read a file and delete all the spaces and sends (nl) these and put everything in a list.</p>
  
  <p>For example:
  From </p>
  
  <pre><code>myfile.txt = (First Line (Second ( line ) and Third and other)
  To List = [FirstLine(Second(line)andthirdandother)]
  </code></pre>
  
  <p>How it can be achieved?</p>
  
  <p>thanks</p>