How many ways to do a String Replace?

Posted by: Rick Strahls WebLog, on 30 Apr 2007 | View original

You ever do this stunt? You're in the middle of working and you realize that you need a string function. .NET makes string manipulation fairly easy but it can often be frustrating to find just the right function. The issue is that .NET string functions are scattered over several different objects. The string class is what is used most frequently but it's not a terrible complete set of string manipulation functions. So I just needed a routine to replace the 2nd instance of a particular string match...

Advertisement

Similar Posts

  • Module uninstalls and security best practices more
  • Configuring Windows Live Writer for Live Community ServeYou more
  • Catching up on Team System Blogs more
  • The lists to blogs transition more
  • ASP.NET 2.0 Security Reference Implementation more
  • Coding4Fun V2 Plans - Your Feedback Wanted more
  • Response: Visual Studio should be part of Windows more
  • JavaScript and function.call and function.apply for async execution more
  • New Article on how to write an IIS 7 Managed Module more
  • Partial Classes & the Service Factory more

News Categories

.NET | ADO.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Community Server | dasBlog | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD