> For the complete documentation index, see [llms.txt](https://docs.angular-package.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.angular-package.dev/sass/string/overview.md).

# Overview

## String

Module is an extension for [`sass:string`](https://sass-lang.com/documentation/modules/string/) module, modifies some and adds new functions.

### Functions

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong><code>string.index()</code></strong></td><td>Returns index or list of indexes of the given substrings.</td><td></td><td><a href="/pages/FM0wMftFcQvea7yFB53d">/pages/FM0wMftFcQvea7yFB53d</a></td></tr><tr><td><strong><code>string.join()</code></strong></td><td>Returns the <code>string</code> built from the given elements separated by the given <code>$delimiter</code> in original elements order.</td><td></td><td><a href="/pages/1fbk03UC1XTnMvuj3Awl">/pages/1fbk03UC1XTnMvuj3Awl</a></td></tr><tr><td><strong><code>string.replace-multiple()</code></strong></td><td>Handles multiple string replaces, using <code>string.replace()</code> function.</td><td></td><td><a href="/pages/pRTuQMpAj03sVssWgPUS">/pages/pRTuQMpAj03sVssWgPUS</a></td></tr><tr><td><strong><code>string.replace()</code></strong></td><td>Replaces the first or all substring occurrences in the string with a replacement.</td><td></td><td><a href="/pages/3vcc4jc7fM1U1pVWlAd4">/pages/3vcc4jc7fM1U1pVWlAd4</a></td></tr><tr><td><strong><code>string.split()</code></strong></td><td>Returns comma-separated list of substrings of <code>$string</code> that are separated by the given <code>$separator</code>.</td><td></td><td><a href="/pages/AtazHGUdvYBQxGx5qGxj">/pages/AtazHGUdvYBQxGx5qGxj</a></td></tr><tr><td><strong><code>string.to-map()</code></strong></td><td>The <code>string.to-map()</code> function returns map of type if string contains <code>:</code>.</td><td></td><td></td></tr><tr><td><strong><code>string.unquote()</code></strong></td><td>The <code>string.unquote()</code> function unquotes <code>$string</code> on <code>$execute</code> set to <code>true</code>.</td><td></td><td></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://docs.angular-package.dev/sass/string/overview.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.
