Split a string if it contains enter key or \n
<p>I have a multiline textbox .I am entering recipe ingredients one by one in each line by using enter key . I am saving this to database in a single filed .But on display i need to split them to show them line by line .How can i achieve this ?    </p>
