title: Difference between %S and %s in lua
body: <p>According to the book, this part of code is dividing a line in 2 parts, I do not understand the difference between %S and %s ,neither how exactly is it dividing it in two parts.</p>
  
  <pre><code>local namefrom, nameto = string.match(line, "(%S+)%s+(%S+)")
  </code></pre>