NewLine()

returns a new line

NewLine( includeCROnWindows=boolean );

Returns: String

Argument Description Default
includeCROnWindows
boolean, optional

On windows computer include Carriage Return.

Introduced: 5.3.1.43

true

Examples

fruits = [
    {
        en = "apple",
        de = "Apfel"
    },
    {
        en = "orange",
        de = "Orange"
    },
    {
        en = "strawberry",
        de = "Erdbeere"
    }
]
echo("
    <select>
    #(
        fruits.map(function(fruit) {
            return "<option value='#fruit.en#'>#fruit.de#</option>"
        }).toList(NewLine())
    )#
    </select>
");

See also