<p dir="ltr">You can use the "in" operator [0] , together with the lower() function [1]. </p>
<p dir="ltr">lower("Shape") in ('rectangle', 'triangle')</p>
<p dir="ltr">Hope it helps, </p>
<p dir="ltr">Alexandre Neto</p>
<p dir="ltr">[0] - <a href="http://docs.qgis.org/2.18/en/docs/user_manual/working_with_vector/expression.html#operators">http://docs.qgis.org/2.18/en/docs/user_manual/working_with_vector/expression.html#operators</a></p>
<p dir="ltr">[1] - <a href="http://docs.qgis.org/2.18/en/docs/user_manual/working_with_vector/expression.html#string-functions">http://docs.qgis.org/2.18/en/docs/user_manual/working_with_vector/expression.html#string-functions</a></p>
<br><div class="gmail_quote"><div dir="ltr">A sex, 28/07/2017, 13:05, Walter Nordmann <<a href="mailto:wnordmann@gmx.de">wnordmann@gmx.de</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p>please try it. it does work! qgis filter is usually accepting all
      valid sql queries.</p>
    filter: lower("value") similar to '(berlin|london|paris)'<br>
    <br>
    <a>https://wambachers-osm.website/images/osm/snaps_2017/similar.png</a><br>
    <br>
    ok, havin problems with hstore, but that's is another question.<br>
    <br>
    regards<br>
    walter<br>
    <br>
    <div class="m_-5581625209041770781moz-cite-prefix">Am 28.07.2017 um 13:31 schrieb "Torben
      Keßler":<br>
    </div>
    <blockquote type="cite">
      <div style="font-family:Verdana;font-size:12.0px">
        <div>
          <div>Thanks! Just erased the wildchars to shorten the code.</div>
          <div> </div>
          <div>I forgot to mention that I'm trying this as a QGIS (v
            2.18.7) filter, not in ProstgreSQL. There, I have only
            "ilike" as suitable string operator, it seems.</div>
          <div> </div>
          <div>Best,</div>
          <div>Torben</div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </div>

_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></blockquote></div><div dir="ltr">-- <br></div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Alexandre Neto</div><div>---------------------</div><div>@AlexNetoGeo</div><div><a href="http://sigsemgrilhetas.wordpress.com">http://sigsemgrilhetas.wordpress.com</a></div><a href="http://gisunchained.wordpress.com">http://gisunchained.wordpress.com</a><br></div></div>