> 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>
