Home »
MCQs »
SASS MCQs
Which Sass function is used to get the length of the string?
20. Which Sass function is used to get the length of the string?
- stringlength(string)
- length(string)
- str-length(string)
- len(string)
Answer: C) str-length(string)
Explanation:
The str-length(string) function is used to get the length of the string.
Example:
str-length("IncludeHelp")
Result: 11