Overview
String
Module is an extension for sass:string
module, modifies some and adds new functions.
Functions
string.index()
Returns index or list of indexes of the given substrings.
string.join()
Returns the string
built from the given elements separated by the given $delimiter
in original elements order.
string.replace-multiple()
Handles multiple string replaces, using string.replace()
function.
string.replace()
Replaces the first or all substring occurrences in the string with a replacement.
string.split()
Returns comma-separated list of substrings of $string
that are separated by the given $separator
.
string.to-map()
The string.to-map()
function returns map of type if string contains :
.
string.unquote()
The string.unquote()
function unquotes $string
on $execute
set to true
.
Last updated