Home »
MCQs »
SASS MCQs
Which Sass function is used to convert the string to the uppercase?
23. Which Sass function is used to convert the string to the uppercase?
- str-upper(string)
- str-upr(string)
- str-upper-case(string)
- to-upper-case(string)
Answer: D) to-upper-case(string)
Explanation:
The to-upper-case(string) function is used to convert the string to the uppercase.
Example:
to-upper-case("IncludeHelp")
Result: "INCLUDEHELP"