title: Finding a string with space in a list of strings | javascript
body: <p>I wanted to check if the message contains any string within var ask_time, my code looks something like this:</p>
  <pre><code>var ask_time = [&quot;giờ&quot;,&quot;time&quot;]
  
  if (msg.content.toLowerCase().split(' ').some(trigger =&gt; ask_time.includes(trigger))) {
     msg.reply(&quot;Bây giờ là &quot; + Hour +&quot; giờ &quot;+Minute+&quot; phút ạ !&quot;)
  }
  </code></pre>
  <p>if the message contains the word &quot;giờ&quot; or &quot;time&quot;, the program returns a message. It works fine until I add some space in between the string. Then the program returns nothing.</p>
  <pre><code>var ask_time = [&quot;mấy giờ&quot;,&quot;what time&quot;]
  
  ]if (msg.content.toLowerCase().split(' ').some(trigger =&gt; ask_time.includes(trigger))) {
         msg.reply(&quot;Bây giờ là &quot; + Hour +&quot; giờ &quot;+Minute+&quot; phút ạ !&quot;)
      }
  </code></pre>
  <p>How can I fix this? Thanks in advance.</p>