title: Prolog Split list into list of lists
body: <p>i want to make one list split into list of lists, and skip the 'solid' and separate the list into sublist.</p>
  
  <p>the input and output is below </p>
  
  <pre><code>split_s([A,B,C,solid,D,E,F],X).
  X = [[A,B,C],[D,E,F]].
  </code></pre>
  
  <p>Can anyone help me?</p>