$nl to br

Allows you to insert HTML line breaks before all newlines in a string.


Example

Running this code will add "A B C" to the list named "%test", then will load as HTML.

This is shown in the UBot browser.

add item to list(%test,"A","Delete","Global")
add item to list(%test,"B","Delete","Global")
add item to list(%test,"C","Delete","Global")
load html($plugin function("Data and Files Automation.dll", "$nl to br", %test))

Was this helpful?

Previous Article

$list to spin syntax

Next Article

$number format