How to show only the first line of a multi-line field?
Ninox Profile

How can I show only the first line of a multi-line field, in list view?

Ninox Profile

What is the Ninox language syntax for the following Javascript?

var firstLine = theString.split('\n')[0];

Ninox Profile

Westy, Try this...

 

var firstLine := item(splitx(theString, "\n"), 0)

Ninox Profile

Perfect! Thank you so much.

Reply