Nucleus .Net Core CMS

StringExtensions Class

Namespace: Nucleus.Extensions
Assembly: Nucleus.Extensions.dll
Extension functions for numeric types.


FriendlyEncode (String) Method

FriendlyEncode (String value)
Encode a value for use in an Url.
Name Type
value String
This function replaces non-alphanumeric characters with a dash and converts the value to lower case. This is preferable to url-encoding the value, as it results in a "friendlier" url.