title: Word VBA Trim Function
body: <p>I want to use Trim or Ltrim to change my selection. I have a long If-Then list. the following is a short example</p>
  
  <pre><code>With Selection
  If .Text = "Since" or .Text = "Since " Then .TypeText Text:= "Because"
  If .Text = "since" or .Text = "since " Then .TypeText Text:= "because"
  End With
  </code></pre>
  
  <p>How do I trim my selection before the if-then statements? Also, for the above example, is there an easier way to make the appropriate case-sensitive change?</p>