title: Check if the first word in string is equal to "print"
body: <p>This is the code I'm referring to:</p>
  
  <pre><code>string command;
  getline(cin, command);
  </code></pre>
  
  <p>For example, when someone enters <code>"print Hello"</code>, how can I check if the first word in the string is <code>"print"</code>?</p>