 <p>It's a lambda. It replaces the integers <code>c</code> in the container <code>ln</code> with <code>0</code> if <code>c == '\n'</code> or <code>c == ' '</code>. Since the container seems to hold characters, you can basically say it replaces spaces and newlines with null-terminating characters.</p>