<html><head></head><body style="zoom: 0%;"><div dir="auto">Are you entering the filter in the expression builder from the attribute table. If so, type<br><br></div>
<div dir="auto">substring("DateSale") in ('2021',  '2022', '2023', '2024')<br><br></div>
<div dir="auto">This should filter the table to show features with "DateSale"='2021' or '2022' or '2023' or '2024'.<br><br></div>
<div dir="auto"><!-- tmjah_g_1299s -->Oisin<!-- tmjah_g_1299e --><br><br></div>
<div dir="auto"><!-- tmjah_g_1299s -->Get <!-- tmjah_g_1299e --><a href="https://bluemail.me"><!-- tmjah_g_1299s -->BlueMail for Android<!-- tmjah_g_1299e --></a><!-- tmjah_g_1299s --> <!-- tmjah_g_1299e --></div>
<div class="gmail_quote" >On 12 Jun 2024, at 20:01, Jeremy via QGIS-User <<a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a>> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="blue">this explanation is opaque. can you explain how i use this in the query <br>builder? is it a matter of adding an attribute that is calculated by the <br>slicing?<br></pre></blockquote></div></body></html>