StringUtils.ReplaceLineBreaks method
Version 1.1.28
.NET Framework 4.8
Namespace | Skybrud.Essentials.Strings |
---|---|
Assembly | Skybrud.Essentials.dll |
ReplaceLineBreaks(string)
Static
HTML encodes the text and replaces text line breaks with HTML line breaks.
public static string ReplaceLineBreaks(string input)
Parameters
input
String
The input string.
Returns
The HTML encoded text with text line breaks replaced with HTML line breaks (<br />
).