title: Splitting string from the first occurrence of a character
body: <p>I have multiple lines of text in log files in this kind of format:</p>
  
  <pre><code>topic, this is the message part, with, occasional commas.
  </code></pre>
  
  <p>How can I split the string from the first comma so I would have the topic and the rest of the message in two different variables?</p>
  
  <p>I've tried using this kind of split, but it doesn't work when there's more commas in the message part.</p>
  
  <pre><code>[topic, message] = whole_message.split(",", 2);
  </code></pre>