|
Home
»
String & StringBuilder
|
|
|
|
|
|
Welcome to the String & StringBuilder section of C# Corner. In this section, you will find strings and string builder related articels, tutorials, source code samples, and discussions.
|
|
|
|
|
|
|
|
|
C# Strings
by
Mahesh Chand
on
Feb 22, 2009
This article discusses how to work with strings in C# and use the String class methods and properties to concatenate, copy, replace, trim, and case strings.
|
Strings in C# Part 2
by
Mahesh Chand
on
Feb 22, 2009
This article discusses how to format, trim and pad strings using the String class. The article also covers the StringBuilder to effectively deal with string such as string concatenation,
|
Extending The String Class
by
Mike Gold
on
Apr 03, 2008
This article will show you a technique (new for C# 3.0) that allows you to extend the string class inside the .NET framwork to include your own string methods.
|
Flat File Parsed to XML Using C#
by
Matthew Cochran
on
Aug 29, 2007
I ran across an interesting problem today where I had to parse a flat file (csv or tab delimited) into an xml document. The solution I arrived at is flexible enough for reuse so I though I'd share the library along with some of my development notes.
|
Generating Random Number and String in C#
by
Mahesh Chand
on
May 31, 2007
The Random class defined in the .NET Framework class library provides functionality to generate random numbers. This article shows you how you can use this class to generate random numbers and strings and even combination of both.
|
C# Versions of Java's StringTokernizer
by
David Lloyd
on
May 31, 2007
Here is another C# version of the Java StringTokenizer Class from the version posted August last year on your site. Given a string and a set of delimiters, the class return an enumeration of substrings based on the delimeters passed in.
|
Super String in C#
by
Mike Gold
on
May 31, 2007
Today I realized that I miss those Visual Basic/Visual C++ type operators. You know the ones: Left, Mid, Right.
|
Playing with Strings
by
S Thangaraju
on
May 30, 2007
This program explores the String class and its various methods. With this you will be able to initialize strings using different constructors and use them. To see how the methods of the 'String' class work, see the following code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Description
|
|
The Complete Visual C# Programmer's Guide, written by the authors of C# Corner, covers most of the major components that make up C# and the .NETenvironment including Windows Forms, ADO.NET, GDI+, Web Services, and Security. The book is geared toward the beginner to intermediate programmers.
|
|
Browse more books here»
|
|
|
|
|