title: How to match text in string in Arduino
body: <p>I have some issues with Arduino about how to match text.</p>
  
  <p>I have:</p>
  
  <pre><code>String tmp = +CLIP: "+37011111111",145,"",,"",0
  </code></pre>
  
  <p>And I am trying to match:</p>
  
  <pre><code>if (tmp.startsWith("+CLIP:")) {
      mySerial.println("ATH0");
  }
  </code></pre>
  
  <p>But this is not working, and I have no idea why.</p>
  
  <p>I tried <code>substring</code>, but the result is the same. I don't know how to use it or nothing happens.</p>
  
  <p>Where is the error?</p>