public static RemoveHashFromPageTitle ( string title ) : string | ||
title | string | Page Title |
return | string |
public static string RemoveHashFromPageTitle(string title)
{
return !title.Contains("#") ? title : (title.Substring(0, title.IndexOf('#')));
}