String in C#
String in C#
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.

RECENT POSTS

  • Arjun Singh

    Split Line Based on Given Set of Sub Strings

    In this blog you will learn how to split the line based upon a given set of sub strings which is available in the line.
    Arjun Singh Jun 29, 2016
  • Mahesh Chand

    String in C#

    In this article, you will learn how to work with strings in C#. The article discusses the String class, its methods and properties and how to use them.
    Mahesh Chand May 05, 2016
  • Kailash Chandra Behera

    Differences Between Text, Stream, String and Binary Data

    This article provides an overview of the differences between Text, Stream, String and Binary Data and related classes to stream.
  • Kailash Chandra Behera

    Finding Directories With Regular Expressions

    This article provides an example of using a regular expression to search a directory and determine a file type.
  • Kailash Chandra Behera

    Regular Expression Character Classes

    List of characters used by Regular Expression.
  • Kailash Chandra Behera

    Quantifiers used in Regular Expressions.

    This blog lists quantifiers used in Regular Expression
  • Kailash Chandra Behera

    Checking Birthday By Regular Expression

    This example tries to check birthday using Regular Expression
  • Mahesh Chand

    Compare Strings in C#

    This code snippet shows how to trim strings in C#.
    Mahesh Chand Oct 04, 2012
  • Mahesh Chand

    Add, Remove, Replace Strings in C#

    This code snippet shows how to add, remove and replace strings in C#.
    Mahesh Chand Oct 04, 2012
  • Mahesh Chand

    Uppercase and Lowercase Strings in C#

    This code snippet shows how to make a string uppercase and lowercase using String class methods.
    Mahesh Chand Oct 04, 2012
  • Mahesh Chand

    Format String in C#

    This code snippet shows how to format strings in C#.
    Mahesh Chand Oct 04, 2012
  • Mahesh Chand

    Padding Strings in C#

    This code snippet shows how to pad strings in C#.
    Mahesh Chand Oct 04, 2012
  • gary sun

    strnicmp equivalent in C#

    C# equivalent strnicmp function in C language. It accepts two input strings along with the number of positions of chars to compare.
    gary sun May 30, 2012
  • Arul R

    Export the value from dropdown list using C#

    This is about when i select value from dropdown ,corresponding detail for the selected value export into MS WORD.
    Arul R May 11, 2012
  • Puran Mehra

    StringBuilder C#

    In this article, I will explain you about the StringBuilder Class in C#.
    Puran Mehra May 01, 2012
  • Mahesh Chand

    Trim String in C#

    This code snippet shows how to trim a string in C#.
    Mahesh Chand Mar 21, 2011
  • Suthish Nair

    Convert a string to Title Case in C#

    There is no direct method like ToUpper(), ToLower() for Title Case. But using CultureInfo and TextInfo classes we can do Title case of a string.
    Suthish Nair Sep 01, 2010
  • Mahesh Chand

    Substring in C#

    How to get a substring from a string in C#.
    Mahesh Chand Aug 22, 2010
  • Mahesh Chand

    Split String in C#

    How to split string in C#.
    Mahesh Chand Aug 22, 2010
  • Mahesh Chand

    Copy and Concatenate String in C#

    This code snippet shows how to copy and concatenate strings in C#.
    Mahesh Chand Aug 21, 2010
  • Mahesh Chand

    StringCollection in C#

    StringCollection class is a new addition to the .NET Framework class library that represents a collection of strings. In this article, we will discuss how to take advantages of its methods and prop...
    Mahesh Chand May 23, 2010
  • Mohammad Elsheimy

    Working with Strings with Combining Characters

    In this article we will see the working of strings with combining characters (like diacritics in Arabic).
    Mohammad Elsheimy Apr 01, 2010
  • Mahesh Chand

    Strings in C# Part 2

    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,
    Mahesh Chand Feb 22, 2009
  • Mike Gold

    Extending The String Class

    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.
    Mike Gold Apr 03, 2008
  • Mahesh Chand

    StringBuilder and String Concatenation

    String concatenation is one of the commonly used operations among programmers.
    Mahesh Chand Aug 02, 2007