title: How to use multiple methods in JavaScript at the same time
body: <p>I have an input where you can search for a specific course by its name, for this I use filtering, and also the <code>includes()</code> method, my problem is that I need to apply three methods at the same time, the first method is <code>toLowerCase()</code>, the second is <code>toUpperCase()</code> and the last method is <code>trim()</code></p>
  <pre><code>GetMyCourses() {
    return this.courses.filter(value =&gt; {
      return value.title.toLowerCase().includes(this.result);
    });
  },
  </code></pre>
  <p>If you leave the <code>toLowerCase</code> method, then it does not give capital names when searching, and vice versa, in addition, if you remove these two methods, then when searching you will need to accurately search for the word</p>