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?

  1. stringlength(string)
  2. length(string)
  3. str-length(string)
  4. 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

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.