# Truncation or using Wildcards for searching with partial search terms

Wildcards can be used to construct queries with partial search terms.

Use an asterisk \* to match any number of characters.

For example:&#x20;

> *duoden\**&#x20;

matches *duodenal, duodenectomy*, and so on.

> &#x20;*p\*diatric*

·matches *pediatric, paediatric*, and so on.

A question mark ? can be used to match 0 or any single character

For example:&#x20;

> *l?st*

&#x20;matches *last, lest, list*, and so on.

> *200?*

matches any years between *2000* and *2009*

## Important caveats to be aware of when using truncation

Wildcards cannot be added to the beginning of search terms, this generates an error.

Wildcards cannot be used in an expression enclosed with double quotes, our search engine ignores wildcards when quotes are used, and may give incorrect results.

For example, searching for&#x20;

> *“p\*diatric”*

&#x20;is equivalent to searching for&#x20;

> *p diatric*

Avoid excessive use of wildcards, as in some cases, using wildcards could affect performance of the platform.

For example, searching for&#x20;

> *comp\**&#x20;

is more resource intensive than&#x20;

> *comput\**

because in the former there are more consecutive character variations to process.

{% hint style="info" %}
Note that wildcards are not automatically [stemmed](/cabi-digital-library-help/search/word-stemming.md).
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.cabi.org/cabi-digital-library-help/search/truncation-or-using-wildcards-for-searching-with-partial-search-terms.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
