HtmlExtensions.ShortenUrl Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

ShortenUrl(String, Int32)

Shortens a url for display.

public static string ShortenUrl(this string url, int max)

Parameters

url
System.String
max
System.Int32

Returns

System.String

The shortened url.