> For the complete documentation index, see [llms.txt](https://docs.reportpundit.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.reportpundit.com/knowledge-base/report-creation/filters/begins-with-and-ends-with.md).

# 'begins with' & 'ends with'

### How do 'begins with' & 'ends with' work?

{% tabs %}
{% tab title="begins with" %}
\
The '**begins with**' filter is used to find **all records** that **start** with a **specific prefix** and their **related** characters. \
\
For example, if we need to **filter** all **Variant SKUs** that **begin** with "**CSM**", the '**begins with**' condition will filter all **SKUs** that **start** with '**CSM**', as shown below.

![](/files/8dRPKD4j3mEB531nhY4b)
{% endtab %}

{% tab title="ends with" %}
The '**ends with**' filter is used to find **all records** that **end** with a **specific suffix** and their **related** characters.&#x20;

For example, if we need to filter all **Variant SKUs** that end with "**02**", the '**ends with**' condition will filter all **SKUs** that **end** with '**02**', as shown below.

![](/files/8OLMIjPVMrXLqoN3eVPQ)
{% endtab %}
{% endtabs %}

*Watch this 99 seconds explanatory video to understand better:*&#x20;

{% embed url="<https://youtu.be/wOCcOErZQs8>" %}
