Chapter 7. Strings and Regular Expressions

Java and C# both recognize that string handling and manipulation are key functions required by almost every application, and they provide language-level support to make working with strings simple and a rich API to support advanced string manipulation. The basic capabilities of strings and the C# syntax used to manipulate them are covered in Chapter 4. This chapter focuses on the Microsoft .NET System.String class and the functionality available in the Microsoft .NET class library for working with strings.

Java developers will find support in .NET for all the string-handling mechanisms they are accustomed to in Java. This includes the more advanced features such as byte encoding, text formatting, and regular ...

Get C# for Java Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.