3
Answers

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

Marius Vasile

Marius Vasile

3y
683
1

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)