Marius Vasile

Marius Vasile

  • 602
  • 1.7k
  • 124.5k

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)