Marius Vasile

Marius Vasile

  • 1.1k
  • 1.1k
  • 35.1k

asp.net core razor force a new line for a saved string in view

Nov 9 2021 8:28 PM

What I have is a long text, content of a blog for example, stored in a database. What I want is that in View to be able to force new lines whenever needed. Right now, the text is stored and viewed in bulk. How can I achieve a split string?


Answers (3)