0

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

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

3 replies

null
    • Choices_Software_Dean
    • 5 yrs ago
    • Reported - view

    What is the Ninox language syntax for the following Javascript?

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

    • Sean
    • 5 yrs ago
    • Reported - view

    Westy, Try this...

     

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

    • Choices_Software_Dean
    • 5 yrs ago
    • Reported - view

    Perfect! Thank you so much.

Content aside

  • 5 yrs agoLast active
  • 3Replies
  • 1177Views