Geeks With Blogs

News My Blog has been MOVED to https://mfreidge.wordpress.com
Michael Freidgeim's OLD Blog My Blog has been MOVED to https://mfreidge.wordpress.com
I've recently added to my UriHelper class the function RemoveQueryStringFromUrl

   public static string RemoveQueryStringFromUrl(string url)


  {


   //similar to string qs = QueryStringHelper.QueryStringFromUrl(url);


   string urlPath = url.LeftBefore("?");


   return urlPath;


  }


It refers to methods from My QueryStringHelper class and

My StringHelper class


Posted on Thursday, May 12, 2011 6:59 AM ASP.NET | Back to top


Comments on this post: RemoveQueryStringFromUrl helper function

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Michael Freidgeim | Powered by: GeeksWithBlogs.net