CMSABTestOverviewPageShortenUrl Method |
Shortens URL, adds dots and rounds URL length to the nearest slash occurrence.
Namespace: CMS.OnlineMarketing.Web.UIAssembly: CMS.OnlineMarketing.Web.UI (in CMS.OnlineMarketing.Web.UI.dll) Version: 13.0.131
Syntax protected string ShortenUrl(
string url,
int maxLength = 22
)
Parameters
- url
- Type: SystemString
- maxLength (Optional)
- Type: SystemInt32
Return Value
Type:
StringUnchanged URL, if
maxLength doesn't exceed length of
url or shortened URL in format '../something/something'
See Also