Strings code snippets (32)
How to declare multiline strings
Published: 15. February 2012 | Updated: 15. February 2012Categories: Basics Strings
Tags: Basics C# Text
How to convert string to char array and vice versa
Published: 15. February 2012 | Updated: 15. February 2012Categories: Strings
Tags: Array Basics C# Text
How to truncate text
Published: 30. January 2012 | Updated: 30. January 2012Categories: Strings
Tags: Basics C# Text
How to remove formatting from numerical string
Published: 1. December 2011 | Updated: 1. December 2011Categories: Strings
Tags: C# Formatting Text
How to generate random text
Published: 30. November 2011 | Updated: 30. November 2011Categories: Strings
Tags: C# Testing Text
How to repeat character
Published: 30. November 2011 | Updated: 30. November 2011Categories: Strings
Tags: C# Text
How to escape curly brace in String.Format
Published: 30. November 2011 | Updated: 30. November 2011Categories: Strings
Tags: C# Text
How to compare strings with ignoring the case
Published: 25. November 2011 | Updated: 25. November 2011Categories: Strings
Tags: Basics C# Text
How to get new line
Published: 23. November 2011 | Updated: 23. November 2011Categories: Strings
Tags: Basics C# Text
How to convert string to bytes and vice versa for various encodings
Published: 2. November 2011 | Updated: 2. November 2011Categories: Converting Strings
Tags: C# Conversion Text
How to get information about all encodings
Published: 2. November 2011 | Updated: 2. November 2011Categories: Strings
Tags: C# Text
How to get Unicode Category for character
Published: 31. October 2011 | Updated: 31. October 2011Categories: Strings
Tags: Basics C# Text
How to find out whether character is control
Published: 31. October 2011 | Updated: 31. October 2011Categories: Strings
Tags: Basics C# Text
How to find out whether character is lowercase or uppercase
Published: 31. October 2011 | Updated: 31. October 2011Categories: Strings
Tags: Basics C# Text
How to find out whether character is white space
Published: 31. October 2011 | Updated: 31. October 2011Categories: Strings
Tags: Basics C# Text
How to find out whether character is separator
Published: 31. October 2011 | Updated: 31. October 2011Categories: Strings
Tags: Basics C# Text
How to find out whether character is symbol
Published: 31. October 2011 | Updated: 31. October 2011Categories: Strings
Tags: Basics C# Text
How to find out whether character is letter
Published: 31. October 2011 | Updated: 31. October 2011Categories: Strings
Tags: Basics C# Text
How to find out whether character is digit
Published: 31. October 2011 | Updated: 31. October 2011Categories: Strings
Tags: Basics C# Text
How to find out whether character is punctuation mark
Published: 31. October 2011 | Updated: 31. October 2011Categories: Strings
Tags: Basics C# Text
How to format a string
Published: 27. October 2011 | Updated: 27. October 2011Categories: Strings
Tags: C# Formatting Text
How to format numbers
Published: 14. January 2009 | Updated: 26. October 2011Categories: Strings
Tags: C# Formatting Text
How to get substring from text
Published: 14. October 2011 | Updated: 26. October 2011Categories: Strings
Tags: Basics C# Text
How to convert string to lowercase
Published: 14. October 2011 | Updated: 26. October 2011Categories: Strings
Tags: Basics C# Text
How to convert string to uppercase
Published: 14. October 2011 | Updated: 26. October 2011Categories: Strings
Tags: Basics C# Text
How to trim string
Published: 14. October 2011 | Updated: 26. October 2011Categories: Strings
Tags: Basics C# Text
How to get string length
Published: 14. October 2011 | Updated: 26. October 2011Categories: Strings
Tags: Basics C# Text
How to replace specified string in string
Published: 14. October 2011 | Updated: 26. October 2011Categories: Strings
Tags: Basics C# Text
How to get the last index of character in string
Published: 14. October 2011 | Updated: 26. October 2011Categories: Strings
Tags: Basics C# Text
How to efficiently concat multiple strings
Published: 26. September 2011 | Updated: 26. October 2011Categories: Strings
Tags: C# Performance Text
How to get the first index of character in string
Published: 14. October 2011 | Updated: 26. October 2011Categories: Strings
Tags: Basics C# Text
How to escape string
Published: 24. October 2011 | Updated: 26. October 2011Categories: Strings
Tags: C# Text





