Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / programming / string

String

string

Great Reads

by Sarang Date
Any string input can have these many possible states1) String is null2) String is empty3) String contains nothing but white space4) String has some contentTill now, .NET had static method for stringbool string.IsNullOrEmpty()which handled first two conditions for...
by jfriedman
public static class StringExtensions { public static bool IsNullOrWhitespace(this string s) { if (null == s) return true; return string.IsNullOrEmpty(s.Trim()); } }
by Ben Hall (failingfast.io)
It's worthwhile knowing the what, when and why to improving string comparison performance. In this article, I will explore one way, string interning.
by JesseChisholm
FormatEx is a method that allows structuring formatting placeholders indirectly from arguments.

Latest Articles

by Sarang Date
Any string input can have these many possible states1) String is null2) String is empty3) String contains nothing but white space4) String has some contentTill now, .NET had static method for stringbool string.IsNullOrEmpty()which handled first two conditions for...
by jfriedman
public static class StringExtensions { public static bool IsNullOrWhitespace(this string s) { if (null == s) return true; return string.IsNullOrEmpty(s.Trim()); } }
by Ben Hall (failingfast.io)
It's worthwhile knowing the what, when and why to improving string comparison performance. In this article, I will explore one way, string interning.
by JesseChisholm
FormatEx is a method that allows structuring formatting placeholders indirectly from arguments.

All Articles

Sort by Score

string 

by Ben Hall (failingfast.io)
It's worthwhile knowing the what, when and why to improving string comparison performance. In this article, I will explore one way, string interning.
by JesseChisholm
FormatEx is a method that allows structuring formatting placeholders indirectly from arguments.
by Sergey Kizyan
This is the second lecture from my series. It is related to work with text data and concentrated on such types as char, string, SrtingBuilder and SecureString
by kdmote
A simple program to translate numbers into their textual representation. (To turn 1013 into "one thousand, thirteen").
by #realJSOP
Spell it out! No! Wait!
by Michael Sydney Balloni
Different languages and approaches are evaluated for a file and string processing benchmark
by DrABELL
This is an alternative for "Fastest method to trim all whitespace from Strings in .NET"
by Avi Farah
Allow for constructs within a string to be programmatically evaluated for a final string value
by Shvetsov Evgeniy
Numbers (positive AND negative integral/fractional) to english/russian words
by David Wincelberg
Strings that differ by typos can be matched.
by Sanmayce
A fulltext CLI tool reporting number of exact matches, FAST!
by Felipe R. Machado
There are countless ways to trim all whitespace from a string, but which one is faster?
by Shvetsov Evgeniy
String class with the auto. managed memory pool and performance tweaks + support modules
by thorssig
html2struct parses HTML code into a simple tree-like structure of objects and provides a little tool-set for extracting data from it
by Guirec
This article will introduce you with a set of 3 simple extension methods that can help you getting rid of Regex in many situations
by Mehmet Murat TANDOĞAN
How to use jQuery mobile autocomplete in ASP.NET using generic handler(.ashx) file with database connection.
by fabio bussu
MatchKit is a .NET Library that provides a set of classes to build patterns to match simple and complex strings
by PJ Arends
A C++ class that makes it easy to print text in clearly defined rows and columns
by Aydin Homay
In the software implementing business synchronizing structures/templates of the database entities with Data Access Layer SQL (commands/Transactions) is the most expensive thinks because you need to re-implement when you have change/s in your entities structure's such as Data-type, Name, and etc.
by Sergii Syrovatchenko
This article includes examples of T-SQL capabilities that allow to perform string concatenation flexibly and effectively through the use of different constructs.
by Vladyslav Chernysh
Simple library that parses a string according to custom patterns.
by Alex the Green Apple
C library defining string type and string manipulation functions
by matt warren
Strings and the CLR - a special relationship
by Shivprasad koirala
Here we will discuss about Strings and Stringbuffer in .NET.
by Afzaal Ahmad Zeeshan
This article is for the concept of Random URLs and how they can be generated in ASP.NET for creating Random URLs for your application.
by SimmoTech
A useful class now twice as fast.
by Sarang Date
Code illustrations of various string reversal algorithms in C#
by EiadXP
This is a very fast way to access string (or other) data with minimum memory consumption.
by Ravi Teja Pidaparthi
A Case Study to explore ways to customize and improve WCF by overriding the default serialization behaviour
by Ajay Vijayvargiya
Many Windows C++ programmers get confused over what bizarre data type identifiers like TCHAR and LPCTSTR are. Here, in brief, I will try to clear out the fog.
by Jim Meadors
String manipulation of XML files