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
  • Banketeshvar Narayan

    Variable.ToString() vs. Convert.ToString(variable)

    This code snippet is for variable.ToString() vs. Convert.ToString(variable).
  • Mohamed Gani Mn

    Find Content Value in String

    We have found same content text from string values without split values.
    Mohamed Gani Mn Nov 05, 2015
  • Surya Pratap Singh

    Print String Lower Case, Upper Case and First Letter Uppercase

    This code snippet for Print String Lower Case, Upper Case and First Letter Uppercase.
    Surya Pratap Singh Sep 22, 2015
  • 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.
  • Umang Bhatt

    Spliting string with a string value in c#

    This example teaches you to split a string and collect split strings in an array with 'string' as delimiter instead of 'character'.
    Umang Bhatt Apr 15, 2015
  • Sibeesh Venu

    Split method with a string value in c#

    This code shows you how you can use split method to split a string by a string in c#.
    Sibeesh Venu Jan 02, 2015
  • 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