Javatpoint Logo
Javatpoint Logo

Less String Function

Less supports the following string functions:

Index String Functions Description
1) Less string escape function The Less string escape function is used to apply URL encoding to special characters found in the input string.
2) Less string e function The Less string e function takes string as a parameter and returns its content without quotes.
3) Less string % format function The Less string format function is used to format string with placeholders. The format function uses some parameters: string: It is used to format string with placeholders. anything*: It is used to provide values to replace placeholders.
4) Less string Replace function The Less string replace function is used to replace a text with a string. The replace function uses some parameters: string: It searches the string and replace in. pattern: It searches the regular expression pattern. replacement: It replaces the string that matches the pattern.flags: These are optional regular expression flags.
Next TopicLess List String





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA