Monday 22 June 2015

C# - ASP.NET - How to remove comma from a string

Watch on YouTube:




          string text = "some text,";
            Response.Write(text.TrimEnd(','));

No comments:

Post a Comment