replace specified string in string
Published: 14. October 2011 | Updated: 26. October 2011License: Microsoft Public License (MS-PL)
Categories: Framework » Strings
Tags: Basics C# Text
string text = "test"; string replaced = text.Replace("t", String.Empty); Console.WriteLine(replaced);Console Output:
es
| Send us feedback about this snippet » |





