AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

StringExtensions..::..ToLineBreakToHtml Method

Replaces environment newline characters with HTML line break tags.

Namespace:  AdvantageCMS.Core.Common
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public static string ToLineBreakToHtml(
	this string str
)

Parameters

str
Type: String
The string to convert.

Return Value

The string with newlines replaced by <br/> tags.