Click here to Skip to main content
6,632,253 members and growing! (21,793 online)
Email Password   helpLost your password?
Article Category: All Topics MFC/C++ C# VB.NET ASP.NET SQL Architect Windows 7 Java LAMP Mobile CEO / Manager
Announcements
BullFrog Power
 
Search    
Add to IE Search

String handling


General Programming » String handling
Language
Platform
Technology
Audience
Skill Level
Topic
Clear All

Contents

 

String - General

top
Title / Updated Author Score  
Implement Phonetic ("Sounds-like") Name Searches with Double Metaphone Part VI: Other Methods & Additional Resources
Updated: 19 Mar 2007  
Surveys other phonetic matching techniques, and presents additional resources on the subject.
VC7Win2K, WinXP, Win2003, Visual Studio, Dev
Adam Nelson 4.89
Single Instance String Store for .NET
Updated: 16 Jul 2009  
By implementing a single instance string store, you can significantly reduce the memory footprint of your application.
C#, .NET, Dev
Kendall Miller 4.88
RichText Builder (StringBuilder for RTF)
Updated: 12 Nov 2008  
RichText Builder - use in place of StringBuilder to output RTF.
C#, .NET (.NET 2.0), Visual Studio (VS2008), WinForms, Dev
seeblunt 4.88
CString-clone Using Standard C++
Updated: 4 Aug 2004  
A Drop-In replacement for CString that builds on the Standard C++ Library's basic_string template
VC6Win2K, Dev
Joe O'Leary 4.69
XString - non-MFC non-STL string functions - Unedited
Updated: 7 Aug 2007  
XString offers functions for remove, replace, trim, and case-insensitive search that are not included in the CRT.
VC6, VC8.0, WindowsVS2005, Dev
Hans Dietrich 4.67
A Variable-based String Parser
Updated: 27 Feb 2007  
An article on a tool which unifies a string with a template consisting of variables and constants
C++, Visual Studio, Dev
Dileepa Jayathilaka 4.67
CString Management
Updated: 17 May 2000  
Learn how to effectively use CStrings.
VC6, Visual Studio, MFC, Dev
Joseph M. Newcomer 4.62
Plural Forms
Updated: 15 Apr 2008  
Spelling messages like "5 file(s) found" correctly in any language
C++, C
Peter Kankowski 4.61
Extending CStringArray
Updated: 11 Dec 2007  
An extended CStringArray class
C++, Windows, Visual Studio, MFC, Dev
Anders Eriksson 4.61
Literal string encryption as part of the build process
Updated: 17 Mar 2005  
CXR allows you to create encrypted strings at compile time.
VC6, VC7Win2K, WinXP, MFC, Dev
Chris Losinger 4.60
TextFieldWriter
Updated: 5 Oct 2009  
An opposite way to FileIO.TextFieldParser to easily write fixed-length fields into a text file.
VB, Windows, .NET, Dev
jlabrou 4.60
XSearch - a class that implements a search engine-style advanced search
Updated: 16 May 2007  
XSearch implements a search engine-style advanced search, including ALL, EXACT PHRASE, AT LEAST ONE, and WITHOUT words. XSearch is based on a multiple-substring search algorithm.
VC6Win2K, WinXP, MFC, Dev
Hans Dietrich 4.58
FormatString - Smart String Formatting
Updated: 19 Feb 2007  
Smart string formatting and other string utilities
C++ (VC6, VC7, VC7.1, VC8.0), Windows, Visual Studio (VS.NET2003, VS2005), MFC, Dev
Ivo Beltchev 4.55
String Conversions
Updated: 22 May 2000  
Set of classes enabling UNICODE and ANSI string conversion.
VC6, Visual Studio, Dev
Zoran M. Todorovic 4.52
MakeMessage - An STL 'replacement' for the FormatMessage API
Updated: 4 Mar 2006  
A function that uses STL strings and streams in an effort to mimic and improve on the FormatMessage API.
VC6Win2K, WinXP, Dev
PJ Arends 4.51
Implement Phonetic ("Sounds-like") Name Searches with Double Metaphone Part I: Introduction & C++ Implementation
Updated: 19 Mar 2007  
Introduces the Double Metaphone algorithm for phonetic comparison of proper names, and provides a practical C++ implementation for use in the reader's projects.
VC6, VC7, VC7.1, Windows, Visual Studio, Dev
Adam Nelson 4.50
String and vector manipulation through example: Morse code and more
Updated: 30 Jul 2009  
Make a program that can perform various manipulations on a string.
C++, Dev
CrazyJugglerDrummer 4.50
Non-MFC String Class for ATL
Updated: 11 Aug 2000  
A Non-MFC String Class for use in ATL components
VC6, ATL, Dev
Paul E. Bible 4.49
Using UpdateResource to change a string resource
Updated: 21 Sep 2004  
Code for changing a string resource, that actually works!
VC6, VC7, VC7.1, VC8.0Win2K, WinXP, Win2003, Vista, TabletPC, Visual Studio, MFC, Dev
Sashazur 4.49
String Tokenizer Class (CTokenEx)
Updated: 26 Jan 2000  
A very simple string tokenizer class.
VC6Win2K, MFC, Dev
Dan Madden 4.46
PowerShell Script for Reviewing Text Shown to Users
Updated: 11 Apr 2008  
A script for extracting string literals from source code for review
Windows, ASP.NET, WinForms
John D. Cook 4.44
A TCHAR style header file for STL strings and streams
Updated: 11 Feb 2006  
Presents a header file that allows a single source file that uses STL to be built in either ANSI or Unicode, without any changes or lots of #ifdefs.
VC6, VC7, VC7.1Win2K, WinXP, STL, VS.NET2003, Dev
PJ Arends 4.42
StringBuilderPlus Improves Upon StringBuilder
Updated: 21 Aug 2009  
StringBuilderPlus facilitates prefixing and suffixing strings and StringBuilderPluses in an efficient manner.
C# (C# 1.0, C# 2.0, C# 3.0), Windows, .NET, Architect, Dev
aspdotnetdev 4.40
fix_str - An (Almost) Immutable String Class in C++
Updated: 7 Nov 2005  
New style string class(es) for ASCII and UNICODE, single- and multi-threaded environments.
VC6, Windows, Dev
Roland Pibinger 4.38
CPerlString - A Class to Utilise Perl String Functions
Updated: 31 Aug 2002  
A Class to Utilise Perl String Functions
VC6Win2K, MFC, Dev
Yap Chun Wei 4.33
Easily Load and Format Strings from the String Table
Updated: 26 Sep 2005  
Two classes that help you to easily load (and format) messages from the String table.
VC7.1, Windows, MFC, ATL, VS.NET2003, Dev
Serge Wautier 4.31
CTokenizer class
Updated: 21 Oct 2001  
A simple tokenizer class that can be used on CStrings
VC6, Visual Studio, Dev
Eddie Velasquez 4.31
Case-Insensitive String Replace
Updated: 25 Jan 2000  
function to replace all occurences of a string within another, ignoring the case.
VC6, Visual Studio, MFC, Dev
Uwe Keim 4.30
More than strcmp(): similarity in strings
Updated: 12 Sep 2004  
A function which returns the similarity between two strings (how much they're equal).
eVC, VC7, VC7.1, Windows, Win Mobile, MobileVS.NET2003, Dev
Rui A. Rebelo 4.30
Natural Sort Comparer
Updated: 28 Dec 2007  
An implementation of a Natural Sort Comparer
C# (C# 1.0, C# 2.0, C# 3.0)
Justin.Jones 4.29
Non MFC and Non STL string class: EsString
Updated: 25 Nov 2004  
Standalone refcounted string class.
VC7, Windows, .NET, Visual Studio, Dev
Vsevolod 4.29
PreParse XML using CString
Updated: 4 Mar 2004  
An article on XML parsing using CString.
VC6, VC7, VC7.1, VC8.0WinXP, Visual Studio, ATL, WTL, Dev
Chau Johnthan 4.29
Sending and posting CString to windows via PostMessage, SendMessage
Updated: 1 Sep 2001  
A robust mechanism for sending CString objects to windows within the current process.
VC6Win2K, MFC, Dev
Matt Gullett 4.27
String Tokenizer Iterator Class
Updated: 26 Jun 2002  
A string tokenizer iterator class that works with std::string
VC7.NET 1.0, Win2K, WinXP, Visual Studio, STL, Dev
Daniel Andersson 4.25
Case-Insensitive String Search
Updated: 1 Dec 1999  
A function which doesn't require changing the case of the strings, and was also DBCS (double-byte character set) friendly.
VC6WinXP, Dev
Ralph Walden 4.24
XTrim - trim leading and trailing whitespace characters
Updated: 20 May 2003  
XTrim implements _tcsltrim and _tcsrtrim - CRT-like functions to trim whitespace.
VC6Win2K, WinXP, Dev
Hans Dietrich 4.24
A C++ StringBuilder Class
Updated: 14 Sep 2007  
An atricle introducing a StringBuilder class written in C++
C++, Windows, Visual Studio, Dev
Omer Tripp 4.22
Static String List Manager
Updated: 20 Sep 2001  
A reusable component to manage static string lists in your programs
VC6Win2K, Visual Studio, MFC, ATL, Dev
Xiangyang Liu 刘向阳 4.20
Patricia and Huffman, Sitting in a Trie
Updated: 27 Dec 2004  
Article demonstrates a text-based Patricia trie and adds new text-compression features.
VC6WinXP, Visual Studio, Dev
Michael Jaworski 4.17
CStringW and CStringA
Updated: 29 Jun 2002  
CStringW and CStringA for WTL
VC6, Windows, Visual Studio, WTL, Dev
Oskar Wieland 4.13
Simple string parsing in nested loops
Updated: 14 Dec 2004  
Fast string parsing in nested loops.
C++, Windows, Visual Studio, Dev
Hatem Mostafa 4.09
Yet another CString replacement (only much more practical)
Updated: 1 Jul 2003  
MFC/non-MFC usage, UNICODE support, numerics operations support
VC6Win2K, WinXP, Dev
soso_pub 4.04
CTextRender class
Updated: 20 Oct 2005  
An article on an alternative for TextOut (ExtTextOut) function.
VC6, Dev
darkoman 4.04
Searching and replacing strings in a text file
Updated: 30 Oct 2001  
A simple Java toy program for searching and replacing strings in a text file.
Java, VC6, Java, Win2K, Visual Studio, Dev
Xiangyang Liu 刘向阳 4.03
lstring - A lightweight wrapper for std::string
Updated: 4 Dec 2005  
Simplify string handling with a wrapper for std::string.
C++, Windows, Visual Studio, Dev
Roland Pibinger 3.99
Fast Textual Data Processing using Hashed Strings
Updated: 6 Mar 2004  
Managing a textual numbering system for hashing words into numbers
VC6, VC7, VC7.1Win2K, WinXP, Win2003, Dev
Mohammed Hossny 3.92
Use wildcard to compare string and validate input
Updated: 3 Feb 2005  
This article describes how to use wildcard to make input validation in CEdit control or to compare string with wildcard.
VC6WinXP, MFC, Dev
DarkYoda M 3.89
XMemString - Extended memory and string search functions
Updated: 11 May 2003  
Extended string and memory search functions: memmem(), memimem(), memichr(), _tcsistr()
VC6Win2K, WinXP, Dev
Hans Dietrich 3.86
String Parsing Class (supports quoted strings)
Updated: 14 Mar 2002  
Parse strings with specified delimiter and specified quote character
VC6Win2K, MFC, Dev
John Simmons / outlaw programmer 3.84
STL Split String
Updated: 1 Feb 2006  
A function that will split an input string based on a string delimiter.
VC6Win2K, ATL, STL, Dev
Paul J. Weiss 3.83
Keeping It Clean - String Function Wrappers for VS2005
Updated: 17 Nov 2006  
A technique for making stdio functions compile clean regardless of the Microsoft compiler used
VC6, VC7, VC7.1, VC8.0, WindowsVS.NET2003, VS2005, Dev
John Simmons / outlaw programmer 3.79
Simple CString Extension
Updated: 12 Jun 2002  
Simple extension for better substring functionality and numeric formatting
VC6, VC7Win2K, WinXP, Visual Studio, MFC, Dev
Marc Clifton 3.75
.NET Strings
Updated: 14 Jan 2009  
Overview of .NET string handling.
C#, .NET, Dev
Marius Serban 3.71
A Very Simple Parser
Updated: 12 Apr 2004  
An article describing how to parse simple mathematical expressions (containing only +, -, *, /, and numbers) and evaluate their values.
VC6Win2K, WinXP, Dev
ThePromather 3.60
Convert Between std::string and std::wstring, UTF-8 and UTF-16
Updated: 20 May 2007  
How to convert safely STL strings between Unicode formats
C++, Windows, Visual Studio, STL, Dev
rh_ 3.59
Optimizing String-Manipulation Functions
Updated: 26 Dec 2004  
Optimizing string-manipulation functions.
C, ASM, VC6WinXP, Dev
Peter Kankowski 3.54
Class to check Strings for invalid characters
Updated: 4 Nov 2000  
An MFC Class which offers you the abbility to check Strings for invalid characters
VC6Win2K, MFC, Dev
Thomas Hauth 3.50
Easy String Compression and Encryption
Updated: 1 Jul 2008  
Class module to easily de-/compress and en-/decrypt big strings
VB (VB 8.0, VB 9.0), .NET (.NET 2.0, .NET 3.0, .NET 3.5), ASP.NET, Visual Studio (VS2005), WinForms, WebForms, Dev
BTDex 3.50
Full Text Search Tool
Updated: 14 Sep 2006  
This is an implementation of a text search tool, which can be used to index and search for texts within a collection of documents. The code is written in C# .NET and requires framework 1.1 to run. No third party search tool has been used, every bit of the algorithm has been implemented from scratch.
C#, Windows, .NET, Visual Studio, Dev
getmayukh 3.40
A Lite-Memory Dictionary
Updated: 10 Mar 2007  
An article on the implementation of a dictionary where everything is kept in the disk as a B-Tree.
VC6, Visual Studio, Dev
Dileepa Jayathilaka 3.40
Untabify and Tabify
Updated: 16 Jan 2009  
Untabify and Tabify Extension Methods for intending code.
C#, .NET (.NET 3.5), Dev
PIEBALDconsult 3.40
String Extension Collection for C#
Updated: 27 Nov 2008  
Several useful extensions for System.String.
C# (C# 3.0), .NET, Dev
Tomas Kubes 3.31
Creating a Unique String Using a UUID
Updated: 12 Dec 2001  
A small function to either accept or create a UUID* and return a CString
VC6Win2K, WinXP, Visual Studio, MFC, Dev
John Simmons / outlaw programmer 3.26
Class for quick string lookup
Updated: 29 Sep 2001  
Class that represents strings in a tier to enable faster lookups.
VC6Win2K, Visual Studio, Dev
Todd Jeffreys 3.25
Yet another string parser
Updated: 15 Mar 2002  
Another class for extracting fields of string
VC6Win2K, Dev
Remon 3.24
Java Generic Code - Convert Array Contents to a String in a Generic Way
Updated: 7 Apr 2004  
Presenting a generic way to convert Array contents to Strings
Java, Java, Dev
Doron Barak 3.21
String Format Library
Updated: 23 Apr 2008  
Another type-safe alternative to Boost's string format library.
C, VC6, VC7.1, VC8.0, Windows, Visual Studio, Dev
Shao Voon Wong 3.14
How to Format a String
Updated: 9 Aug 2006  
This article illustrates how to format a std::string using a variable argument list similar to CString's Format.
C++, Windows, Visual Studio, Dev
Nitron 3.13
CPathSplit
Updated: 20 Aug 2003  
CString based path splitter.
VC6Win2K, WinXP, Win2003, PocketPC 2002, MFC, Dev
Kochise 3.12
The XString Class
Updated: 11 Dec 2003  
An extended string class for C++ programmers
VC6, Windows, Visual Studio, Dev
Vijay Mathew Pandyalakal 3.09
Text Formatter
Updated: 19 Sep 2005  
A class to block the size of a given text.
VC6Win2K, WinXP, MFC, Dev
Doga Arinir 3.05
KString class, a non MFC string class
Updated: 16 Oct 2006  
KString class, a non MFC string class.
VC6, VC7, VC7.1Win2K, WinXP, Win2003VS.NET2003, Dev
Hadi Dayvary 3.04
String Splitter
Updated: 1 Nov 2001  
User defined StringTokenizer
Java, Java, Win2K, Dev
Koundinya 2.87
FileSystem path string wrapper class
Updated: 2 May 2005  
A simple class to encapsulate a file system path for easy manipulation.
VC6, VC7, VC7.1, VC8.0, Windows, Visual Studio, Dev
Parko 2.75
Useful CString Manipulation Functions
Updated: 31 Jan 2007  
A set of functions to perform the tasks that CString fails to address properly
C++ (VC8.0), Windows, Visual Studio (VS2005), MFC, Dev
Denis Gourjii 2.71
Allocate your dynamic strings on the stack
Updated: 5 Jun 2005  
An article about stack-allocated dynamic strings in C++.
VC6, Windows, Dev
Olivier Lombart 2.50
Ultimate String and String-List classes
Updated: 5 Feb 2005  
String and String-List classes compatible with both ASCII and UNICODE strings.
VC7.1Win2K, WinXPVS.NET2003, Dev
TomKat 2.45
String Parser Class with Field Validation and Exception Handling
Updated: 16 Dec 2002  
Another class for extracting fields of string + field validation + exception Handling
VC6Win2K, WinXP, MFC, Dev
Ali Khanlarkhani 2.44
Fast splitting of CString objects
Updated: 23 Sep 2005  
Splitting CString objects is mostly easy, but can be tricky. I developed this function for using it with CSV files.
VC6, VC7Win2K, WinXP, Visual Studio, MFC, Dev
rkaufman 2.42
String wildcard matching (* and ?) - Unedited
Updated: 22 Jul 2007  
A simple function to perform wildcard ( * ? ) string matching.
C, VC6, VC7, VC7.1, VC8.0Win2K, WinXP, Win2003, VistaVS.NET2003, VS2005, Dev
M Shahid Shafiq 2.05
Tolerant string matching using the Levenshtein algorithm
Updated: 29 Apr 2005  
A practical example how to use the Levenshtein algorithm for string matching
VC6, VC7, VC7.1, VC8.0, eVC 3.0, eVC 4.0, Win Mobile, Mobile, Win2K, WinXP, Win2003VS.NET2003, Dev
Andreas Muegge 2.03
Revise - Unedited
Updated: 9 Jul 2008  
Revise is a command line text editing tool
C++, Windows, Win32, Visual Studio (VS2008), Dev
Samjiman 1.38
StringTokenizer - Unedited
Updated: 3 Apr 2006  
Tokenizes the String on the basis of delimeter/length provided
Java, Java, Dev
Abhishek Shekhar 1.24
Handling non-English characters UTF8 with MS VC++ 2005
Updated: 6 Nov 2008  
This article describes how to handle streams of non-English characters.
C++/CLI, VC6, VC7, VC7.1, VC8.0, Windows, Visual Studio (VS2005), Dev
osella.esteban 1.22
Remove the security credentials from a connection string
Updated: 25 Jun 2009  
This might save you 15 minutes and avoid the embarrasment of returning your 'sa' password to your customers along with an error message.
C#, Windows (Win2008), Dev
Simon Tagg 1.00

String - General,

top
Title / Updated Author Score  
The Complete Guide to C++ Strings, Part I - Win32 Character Encodings
Updated: 4 Oct 2002  
A guide to the multitude of string types used in Windows.
VC6Win2K, WinXP, Visual Studio, Dev
Michael Dunn 4.90
The Complete Guide to C++ Strings, Part II - String Wrapper Classes
Updated: 12 Oct 2002  
A guide to the string wrapper classes provided by Visual C++ and class libraries
VC6Win2K, WinXP, Visual Studio, MFC, ATL, WTL, STL, Dev
Michael Dunn, Nishant Sivakumar 4.86

String - Regular Expressions

top
Title / Updated Author Score  
Flexible text format support using Regular Expressions
Updated: 1 Jul 2009  
Regular Expressions enable your application to parse text files of customized formats.
C#, XML, .NET, Dev
spotofleopard 5.00
RegEx Tester - Regular Expression Tester
Updated: 3 May 2009  
It aids you to develop and fully test your regular expression against a target text.
C#, All Topics, Dev
BucanerO_Slacker 4.70
Wildcard string compare (globbing)
Updated: 15 Feb 2005  
Matches a string against a wildcard string such as "*.*" or "bl?h.*" etc. This is good for file globbing or to match hostmasks.
VC6Win2K, Visual Studio, Dev
Jack Handy 4.59
Link Scanner
Updated: 14 Oct 2009  
Gets all links that a page contains.
C#.NET 2.0, Dev
CoffeeCode 4.56
RegexTester
Updated: 20 Aug 2009  
Presenting a test bed for .NET Regular Expressions
C#.NET 2.0, Dev
PIEBALDconsult 4.56
Using Regular Expressions in MFC
Updated: 18 Jun 2006  
CATLRegExp - A Visual C++ built-in regular expression.
VC7Win2K, Visual Studio, MFC, ATL, Dev
Sam NG 4.52
Adding Regular Expressions to Your App with Regex++
Updated: 17 Jun 2002  
A tutorial to demonstrate adding regular expressions to your project using Regex++ from boost.org.
VC6, VC7Win2K, MFC, Dev
perlmunger 4.49
An Introduction to Regular Expressions
Updated: 25 Jan 2001  
Describes the theory behind regular expressions (RE) as well as the practical usage.
C++Win2K, Visual Studio, Dev
Uwe Keim 4.39
Regular Expressions Syntax Highlighting
Updated: 7 Sep 2008  
Easy to use syntax highlighting class
C#, Dev
Stanislav Kniazev 4.28
Searching, Modifying, and Encoding Text
Updated: 1 Jul 2009  
An article that explains Regular Expressions
C# (C# 1.0, C# 2.0, C# 3.0)
logicchild 4.20
A Naive String Comparer
Updated: 6 May 2008  
A class to perform a "naive" comparison of two chunks of text to see if they look to be the same.
C# (C# 2.0, C# 3.0), ASP.NET
Pete O'Hanlon 4.19
Henry Spencer's Regexp Engine Revisited
Updated: 2 Jul 2003  
A small, Unicode-aware regular expression engine based on Henry Spencer's early work
VC6, VC7, VC7.1Win2K, WinXP, Win2003, MFC, WTL, STL, Dev
Sunspot 4.11
.NET RegEx Test
Updated: 20 Oct 2006  
Handy Regex test utility for .NET helps you get the right expression to use in your code
C# 2.0, Windows, .NET 2.0VS2005, Dev, QA
kurt.griffiths 4.00
Create Regex Objects using a Kind of "meta-variables" - Quicker and Easier
Updated: 10 Jan 2007  
This article describes a class VarRegex allowing you to reuse parts of regular expressions
C# 2.0, Windows, .NET 2.0VS2005, Dev
Eugene Mirotin (Guard) 3.83
A handy web utility for Regular Expressions
Updated: 17 Nov 2009  
Describes a free web-based utility for testing Regular Expressions and performing bulk text transformations.
C#, .NET, Dev
Carl Johansen 3.67
Regular Expression Tester
Updated: 8 Sep 2005  
A simple Regular Expression Tester which allows one string to be tested against a standard regular expression, with feedback on the result in both text and graphical format as either the regular expression or the test string are typed.
C#, Windows, .NET 1.1, WinForms, VS.NET2003, Dev, QA
Christopher Scholten 3.50
Use regular expression in your C++ program
Updated: 25 Jan 2001  
how to use the Microsoft regular expression object in your C++ program
VC6Win2K, Visual Studio, MFC, ATL, Dev
Sherwood Hu 3.47
Quick Start for C++ TR1 Regular Expressions
Updated: 23 May 2008  
This article answers some of the first questions that come up when using regular expressions in C++ TR1
C++, WindowsVS2008, Dev
John D. Cook 3.37
Grabbing Information from Web Pages using Regular Expressions
Updated: 19 Jun 2007  
The article describes how to automate navigation through Web pages, i.e. send parameters and grab the required information automatically
HTML, C# 1.0, C# 2.0, Windows, .NET 2.0, WinForms, VS.NET2003, VS2005, Dev
qazro 3.17
Lost and Found Identity Proper Case Format Provider (IFormatProvider implementation)
Updated: 24 Jun 2009  
Provides administrators with a way to re-format biographical data from case-insensitive data-sources.
C#, ASP.NET, SQL Server, WinForms, PowerShell, Architect, Dev
kdmitry 3.00
Regular Expressions Meta Characters Usage with Examples
Updated: 26 Apr 2006  
Regular Expressions Usage with Examples
C#, Windows, .NET, Visual Studio, Dev
Anil Choudary 2.90
Using Regular Expression for Parsing
Updated: 16 Mar 2007  
Derived currently supports RTF and HTML format
C# 2.0, .NET, WinXPVS2005, Dev
wjhu111 2.67
What is the best way to create Regular Expressions?
Updated: 26 Sep 2008  
A convenient way to document the intent of each part of a regex.
C# 1.0, C# 2.0, C# 3.0, .NET, Dev
Alex Perepletov 2.36
In-place file regex replacement
Updated: 1 Feb 2008  
A function to apply a regex replacement to a file.
C#, .NET, Dev
Mike McCabe 1.67

Strings

top
Title / Updated Author Score  
Custom Formatting in .NET - Enhancing String.Format to all new levels!
Updated: 22 Oct 2009  
A string template method that allows you to fill a string with data. Easy to use, fast, extensible, and extremely powerful! Uses Reflection, Conditional Formatting, iterating through Arrays, and more!
VB 7.x, VB 8.0, VB 9.0, VB 10.NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0VS.NET2003, VS2005, VS2008, VS2010, Dev
Scott Rippey 4.88
NetSpell - Spell Checker for .NET
Updated: 21 Oct 2003  
The NetSpell project is a spell checking engine written entirely in managed C# .NET code.
C#, VB.NET 1.0, .NET 1.1, Win2K, WinXP, Win2003, ASP.NET, Visual Studio, Dev
Paul Welter 4.79
WordNet-based semantic similarity measurement
Updated: 1 Oct 2005  
Capturing the semantic similarity between two short sentences based on WordNet dictionary.
C#, Windows, .NET, Visual Studio, Dev
Troy Simpson, Thanh Dao 4.79
A T-SQL Regular Expression Library for SQL Server 2005
Updated: 13 Dec 2008  
This article shows the reader how to construct a library of scalar and table valued functions for SQL Server 2005 to perform regular expression analysis.
SQL, C# 2.0, Windows, .NET 2.0SQL 2005, VS2005, DBA, Dev
Steve Abraham 4.75
Removing or replacing non-printable Unicode characters
Updated: 16 Mar 2007  
A class for removing or replacing non-printable Unicode characters.
C#, Windows, .NET 1.1, Dev
Eric Lynch 4.71
UTF-8 With C++ in a Portable Way
Updated: 8 Jul 2009  
A simple, portable, and lightweight generic library for handling UTF-8 encoded strings.
C++, Windows, Visual Studio, Dev
Nemanja Trifunovic 4.65
Gios WORD .NET Library (using RTF specification)
Updated: 8 Aug 2005  
A .NET library for generating Word documents (.DOC) using the RTF (Rich Text Format) specification.
C#, Windows, .NET 1.1VS.NET2003, Dev
Paolo Gios 4.62
StringConvertor : A convertor class for managed-unmanaged string conversions that handles memory de-allocations
Updated: 15 May 2005  
A convertor class for managed-unmanaged string conversions that handles memory de-allocations. Caller need not worry about freeing unmanaged memory allocations.
C++, C++/CLI, Windows, .NETVS2005, Dev
Nishant Sivakumar 4.61
A word-wise HTML text compare and merge engine
Updated: 27 Aug 2005  
A C# .NET implemntation of HTML text compare and merge engine based on a similar algorithm as the Unix diff.
C#, Windows, .NET 1.1VS.NET2003, Dev
Hongwei Shen 4.56
Fastest C# Case Insenstive String Replace
Updated: 4 Jul 2005  
Find a fast way to replace case insenstive string.
C#.NET 1.1, Win2K, Win2003, VistaVS.NET2003, Dev
Unruled Boy 4.52
RTools.Util - C# Library
Updated: 26 Oct 2004  
A C# Library for tokenizing, argument parsing, and file finding.
C#, Windows, .NET 1.0, Dev
Ryan Seghers 4.43
CommandLineHelper class to launch console applications and capture their output
Updated: 23 Oct 2006  
Runs a console application and returns its output as a string. Useful for writing object-oriented wrappers around command line utilities, such as Subversion's svn utility.
C# 2.0, Windows, .NET 2.0, Visual Studio, Dev
Andrew Tweddle 4.34
Karmencita: an object query language for .NET
Updated: 23 Mar 2006  
Learn more about Karmencita, an object query language for .NET.
C#, Windows, .NET 2.0VS2005, Dev
Marius Gheorghe 4.32
Converting PDF to Text in C#
Updated: 12 Dec 2005  
Parsing PDF files in .NET using PDFBox and IKVM.NET (managed code).
C#, Windows, .NET, Visual Studio, Dev
Dan Letecky 4.32
Parsing event log(*.evt) file
Updated: 23 Aug 2006  
An article on parsing/opening event log files(*.evt) using c#
C# 2.0.NET 2.0, Win2K, WinXP, Win2003VS2005, Dev
J a a n s 4.30
WTL CString Class Implemented with the Standard C++ Library
Updated: 28 Sep 2006  
Plug-in CodeProject's CStdString as WTL::CString and get the WTL CString support with a Standard C++ Library implementation.
VC6, VC7, VC7.1, VC8.0, eVC 4.0Win2K, WinXP, Win2003, WinMobile2003, WTL, STL, VS.NET2003, VS2005, Dev
Alain Rist 4.29
String Helpers
Updated: 15 Jun 2005  
A small set of helper methods for string manipulation.
C#, Windows, .NET, Visual Studio, Dev
Marc Clifton 4.23
NRTFTree - A class library for RTF processing in C#
Updated: 7 Sep 2007  
Class library to manage RTF files.
C#.NET 1.1, Win2K, WinXPVS.NET2003, Dev
sgoliver 4.20
Conditional Replacement
Updated: 20 Sep 2005  
Templating for text based formats.
C#, Windows, .NET, Visual Studio, Dev
Anthony Johnston 4.11
Faster String Building
Updated: 30 Mar 2008  
An alternative to native string and StringBuilder options
C# (C# 1.0, C# 2.0, C# 3.0)
Andre van der Colff 3.92
Repair Broken Text
Updated: 7 Mar 2007  
An article to demonstrate how to repair broken text.
C#.NET 1.1, WinXPVS.NET2003, Dev
radumi 3.89
UTF16 to UTF8 to UTF16 simple CString based conversion
Updated: 16 May 2008  
Use CString to convert betwen UTF8 and UTF16.
C++ (VC7, VC7.1, VC8.0, VC9.0), Windows (WinXP, Win2003, Vista), Win Mobile, MFC, Dev, QA
John Paul Pirau 3.87
Adding line numbers to text
Updated: 24 Jun 2004  
How to easily add line numbers to source code or text.
C#.NET 1.0, .NET 1.1, .NET 2.0, Win2K, WinXP, Win2003VS.NET2003, Dev
Ken Mackenzie 3.52
XML Querying, Text Streaming, Debug Capture, and LDAP
Updated: 17 Jan 2006  
Library containing functions for XML Querying, Text Streaming, Debug Capture and LDAP.
C#, XML, Windows, .NET, Visual Studio, Dev
Werner.Reyneke 3.43
A universal sentence checking tool
Updated: 31 Oct 2006  
A tool to quickly verify a sentence's correctness.
C#.NET 1.1, .NET 2.0, Win2K, WinXPVS.NET2003, VS2005, Dev
Dominique Bijnens 3.43
String Vs StringBuilder (C#)
Updated: 1 May 2004  
An article on performance of String Vs StringBuilder and better places where each can be used
C#.NET 1.0, .NET 1.1, Win2K, WinXP, Win2003VS.NET2003, Dev
Chester Ragel 3.13
Processing Command Line Arguments
Updated: 27 Dec 2006  
This article describes an approach to processing multiple command line arguments.
C#, Windows, .NET 2.0VS2005, Dev
salysle 2.85
Word Search Engine
Updated: 1 May 2006  
This article describes a new Word Search Engine for your application or website.
C#, Windows, .NET 2.0VS2005, Dev
mohsen ahmadian 2.78
Splitting a Line of Comma-Separated Text
Updated: 11 Sep 2009  
A quick and simple method for splitting up the lines in your .csv file.
C#, Windows, .NET, Dev
pat daburu 2.56
String Split Library
Updated: 21 Apr 2008  
String splitting with automatic POD conversion.
VC8.0, Windows, Visual Studio, Dev
Shao Voon Wong 2.39
Using ANSI Colors within .NET
Updated: 28 Mar 2008  
This article will teach you how to use ANSI colors using .NET
C#, .NET
zenox 2.25
String Splitter
Updated: 9 Mar 2003  
A user defined String Tokenizer (Java).
Java, Java, Dev
Wee Ding 1.30
Bulk String Comparison - Time Involved
Updated: 1 Aug 2005  
Bulk string comparison - time involved.
C#, Windows, .NET 1.1VS.NET2003, Dev
ameya gholap 1.21

String - Text Conversion

top
Title / Updated Author Score  
Longitude-Latitude String Parser and Formatter
Updated: 21 Sep 2006  
A class for longitude and latitude values so as to parse the string to render a double, or format a double into a string.
VC6, VC7, VC7.1, VC8.0Win2K, WinXPVS.NET2003, VS2005, Dev
Jeff Bogan 4.58
XFormatNumber - A function to format numbers with commas
Updated: 25 Jun 2002  
An easy-to-use function that provides locale-correct comma-formatting of numbers
VC6, VC7Win2K, WinXP, MFC, Dev
Hans Dietrich 4.55
Converting numeric types to strings and strings to numeric types
Updated: 23 Feb 2004  
Benchmarks on various conversion technqiues, commentary, and some custom conversion functions.
VC6, VC7, VC7.1Win2K, WinXP, Win2003VS.NET2003, Dev
Eloff 4.38
Format Currency Using .NET Code Vs. Legacy VB6 Code
Updated: 31 Mar 2009  
To format a string into currency without the dependency of VB6
VB (VB 7.x, VB 8.0, VB 9.0, VB 6), .NET (.NET 1.0, .NET 1.1, .NET 2.0, .NET 3.0, .NET 3.5)
James Mouchett 3.91
Guide to BSTR and C String Conversions
Updated: 21 Aug 2003  
An article on converting to/from C strings and various VB BSTR string types
VC6, VC7, VC7.1Win2K, WinXP, Win2003, MFC, Dev
Robert Pittenger 3.79
URLEncode
Updated: 25 Jun 2001  
Convert string using URLEncode method
VC6Win2K, MFC, Dev
Ryszard Krakowiak 3.61
Convert Integers to Their Textual Description
Updated: 19 Jan 2007  
Convert an integer to its textual description
VC6, VC7Win2K, WinXP, Dev
Jeremy Falcon 3.55
AMMimeUtils
Updated: 13 Jun 2001  
An article on how to decode Base64 and Quoted-Printable text without using MFC.
VC6Win2K, Dev
Anders Molin 3.48
Convert a "Hex String" to an Integer
Updated: 15 Jan 2001  
Convert a string containing a hex value to an integer
VC6Win2K, Dev
Anders Molin 3.35
Float and datetime to Vietnamese textual
Updated: 4 Aug 2002  
A DLL to convert Float and datetime to Vietnamese textual string
VC6, VC7Win2K, WinXP, MFC, Dev
Nguyen Luong Son 3.19
Quick code page converter
Updated: 19 Jun 2004  
A simple tool that converts ANSI string to Unicode using a code page you select.
VC6, Windows, Dev
valdok 3.17
North American Phone Number Format Provider (iFormatProvider Implementation)
Updated: 15 Jun 2009  
Implementation of IFormatProvider interface allowing to format "dirty-data" phone numbers into uniformed string
C# (C# 1.0, C# 2.0, C# 3.0), Dev, Design, SysAdmin
kdmitry 3.00
CString To char Conversion method (Warning Free)
Updated: 12 Oct 2005  
An article on converting CStrings to chars without data loss.
VC6, VC7WinXP, Visual Studio, MFC, Dev
ImmelmanQ 2.82
UTF-8 Encoding and Decoding
Updated: 22 Oct 2003  
How to Encode and Decode Text to/from UTF-8
VC6Win2K, WinXP, Win2003, MFC, Dev
Robert Pittenger 2.70

String - Text Search and Replace

top
Title / Updated Author Score  
Patricia Trie Template Class
Updated: 11 Jul 2007  
This article introduces a template class-based approach to construct and query Patricia tries. The article includes source code and a demo application.
VC6Win2K, WinXP, Win2003, Vista, TabletPC, Embedded, Dev
Radu Gruian 4.53
XTokenString - a function to extract tokens from a string
Updated: 4 Aug 2005  
XTokenString extracts tokens from a string, and returns a CStringArray that contains tokens. A token is defined by specified delimiters; double-quotes may optionally group multiple words into a single token, and an option is provided for handling escaped characters.
VC6Win2K, WinXP, Win2003, MFC, Dev
Hans Dietrich 4.51
Banishing String Literals from XAML Resource References - Unedited
Updated: 3 Oct 2009  
Introduction Since my initial experimentation with generating project metadata data using T4 (Text Template Transformation Toolkit), there have been several obvious opportunities to expand its scope. One such opportunity has been to use T4 to generate static properties representing XAML keys. This s
C++, Windows, GDI
Daniel Vaughan 4.50
A Multiple Substring Search Class: CIVStringSet
Updated: 30 Jun 2002  
A string array class using MFC or STL that performs very fast multiple string searches
VC6, Windows, MFC, Dev
Scot Brennecke 4.40
Find and Replace with Regular Expressions
Updated: 6 Apr 2007  
An article on using regular expressions to implement Find and Replace functionality
C# 2.0, Windows, .NET 2.0VS2005, Dev
Kishore Ramakrishnan 3.86
A Tiny Variable String Splitter - Unedited
Updated: 25 Jan 2008  
Tokenize and access string contents using a format mask
C++ (VC6, VC7, VC7.1, VC8.0), C++/CLI, C
mi-chi 3.84
String Replace and File Handling library
Updated: 8 Jan 2008  
Library which contains code for replacing some of the Text in files based on conditions and handling the files by reading and writing strings from or to the file by recursively browsing the folder.
C# 2.0.NET 2.0, WinXP, VistaVS2005, Dev
Sivastyle 3.80
CleanR - Text file string search and replace engine.
Updated: 1 Jul 2003  
An engine to allow you to search for strings in text files and replace them.
VC6, Windows, Dev
Kamal Shankar 3.50

Last Updated 22 Nov 2009
Advertise | Privacy
Copyright © CodeProject, 1999-2009
All Rights Reserved. Terms of Use