Hi Scott,

My book (Inside C# - second edition) has an extremely strong chapter
dedicated to the topics of string handling and regular expressions. Here's
the summary of that chapter to give you an idea of what topics I discuss.

"In this chapter, we examined two primary classes for processing strings,
String and Regex, plus a range of ancillary classes that modify and support
string operations. We explored the use of the String class methods for
searching, sorting, splitting, joining, and otherwise returning modified
strings. We also saw how many other classes in the .NET Framework support
string processing-including Console, the basic numeric types, and
DateTime-and how culture information and character encoding can affect
string formatting. Finally, we saw how the system performs sneaky string
interning to improve runtime efficiency.

In the second part of this chapter, we looked at Regex and its supporting
classes-Match, Group, and Capture-for encapsulating regular expressions. We
explored both pattern searching and string modifying through the set of
Regex instance and static methods, and we examined the use of RegexOptions
to modify the behavior of the operation. Finally, we saw how we can compile
regular expressions to assemblies as a code management strategy.
Clearly, there's some overlap in functionality between strings and regular
expressions. String-based code is probably simpler and easier to maintain,
while Regex-based code will generally be much more flexible and powerful. In
many situations, you'll find that a judicious mixture of both is the best
approach."

Cheers,
Tom Archer
Author - Inside C#




-----Original Message-----
From: dotnet discussion [mailto:[EMAIL PROTECTED]]On Behalf Of
Scott Weston
Sent: Wednesday, May 15, 2002 4:17 PM
To: [EMAIL PROTECTED]
Subject: [DOTNET] C# string comparison


Just starting out here and I have a couple questions.

What is a really good reference book to buy that has all the functions and
such listed in alphabetical order similar to the msdn help, but better
documented? I for one have never liked MS's documentation or help systems.
Books onlien was cool, but was at times sparse in it's help.

Something by wrox if possible as I have the Reference from Or, but it isn't
near complete.

I am also wanting to do string comparisons and conversion from different
types into a string type, what would be my best route to take here?

Oh yeah and let me know if this isn't the proper place to ask for C# help
and kindly point me to the proper list.

Thanks.
 - Scott Weston -

IT Coordinator / Software Engineer
DISTek Integration, Inc.
[EMAIL PROTECTED]
319.266.7333x100



You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to