In this chapter you have seen that the days of having to carry around your own library of string routines like a portable life preserver are long gone. With C# and the .NET Framework, strings are a native part of the library of base classes, and as such provide you with a full host of utility methods for comparison, manipulation, formatting, and much more. You also saw that the StringBuilder class provides you with an easy-to-use set of utility methods for dynamically building strings without the performance penalty of native string concatenation.

Finally, this chapter gave you a brief introduction into the power of regular expressions and how that power can be harnessed with the Regex class. After reading through this chapter and testing out the sample code, you should be familiar with some of the things that you can do with strings and regular expressions to make your applications more powerful.

Microsoft Visual C# 2005 Unleashed
Microsoft Visual C# 2005 Unleashed
ISBN: 0672327767
EAN: 2147483647
Year: 2004
Pages: 298 © 2008-2017.
If you may any questions please contact us: