title: Replace the whitespaces from ion-selected value?
body: <p>I tried to replace the value from my <strong><code>ion-select</code> component</strong> like this : </p>
  
  <pre><code>&lt;ion-select [(ngModel)]="musicDirection" name="musicDirection" (ngModelChange)="test()"&gt;
    &lt;ion-option *ngFor="let musicDirection of this.musicDirections"&gt;
        {{musicDirection}}
     &lt;/ion-option&gt;
  &lt;/ion-select&gt;
  </code></pre>
  
  <p><strong>Function :</strong></p>
  
  <pre><code> test(){
      this.musicDirection.replace(/\s/g, "");
      console.log(this.musicDirection);
   }
  </code></pre>
  
  <p>But it doesn't work.</p>
  
  <p>Here a screenshot from my console.log</p>
  
  <p><a href="https://i.stack.imgur.com/oyATa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oyATa.png" alt="Here a screenshot from my console.log"></a></p>
  
  <blockquote>
    <p><strong>How I can replace it ?</strong></p>
  </blockquote>