> For the complete documentation index, see [llms.txt](https://knowledgebase.ajaxsearchpro.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledgebase.ajaxsearchpro.com/hooks/filters/index-table-related/asp_indexing_string_pre_process.md).

# asp\_indexing\_string\_pre\_process

This filter runs just before the tokenization process is started, but before the raw text is cleared

```
apply_filters('asp_indexing_string_pre_process', $raw_str);
```

### Parameters

* **$raw\_str (string)** - the text which is about to be tokenized

```php
add_filter( 'asp_indexing_string_pre_process', 'asp_change_the_string', 10, 1 );
function asp_change_the_string( $raw_str ) {
    return $raw_str . " my text";
}
```
