decode()
Functionality¶
Returns a copy of current string by HTML decoding.
Syntax¶
How does it work?¶
The decode() function returns the decoded string of current string in the str datatype.
if the value does not exist or null, it will return an empty string.
this function is only supported with the str datatype.
Example¶
coffeeshop(base class) language properties
Type | Name | Value |
---|---|---|
str | name | sample coffeeshop |
str | address | <ul k-repeat="System.Exception: No matching Action found for the expression. at KitsuneSyntaxParser.Models.ParseTress.Parse(Node node)"> |
source
1 2 3 4 | <div> <!-- for str datatyp it will show '<span>b/11, sample coffee shop</span>' --> </div> |
output
1 2 3 | <div> <span>b/11, sample coffee shop</span> </div> |