StringExtensions.HtmlEncode method

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Strings.Extensions
Assembly Skybrud.Essentials.dll

HtmlEncode(string)

Extension method

HTML encodes the specified str.

public static string HtmlEncode(this string str)

Parameters

str String

The string to be encoded.

Returns

The encoded string.