The Wayback Machine - https://web.archive.org/web/20110722233749/http://www.codeguru.com:80/cpp/cpp/string/
Survey

    String Programming

    String Builder: Building Strings with Streams on the Stack

    Discover how to build strings using streams, in one line, using only the stack as storage.

    Querying Bing Using the New Windows 7 Web Services C++ API

    Learn how to build client applications that use SOAP based web services.

    Prefer std::string to char*

    Understand the benefits of using the STL's std::string class over the C-like character arrays.

    MI Is not Mission Impossible

    Read a guide to dealing with some of the problems encountered with multiple inheritance.

    URI Encoding and Decoding

    Learn about fast and portable URI encoding and decoding functions that use std::string as the argument and return type, and do the buffer conversion, including '\0'.

    Splitting Strings with Regex in Managed C++ Applications

    Learn how to use this simple, yet useful, feature of the Regex class to delimit strings in your Managed C++ applications.

    Managed Extensions: Measuring Strings

    Learn how to easily measure the height and width needed to display text values using .NET classes.

    Managed Extensions: Parsing CSV Files with Regular Expressions

    Tom Archer illustrates how to parse comma-delimited text—when the data contains quotes, commas, and blanks—and return the data in a managed array.

    Strings and Performance in .NET

    STL, String, StringBuilder, character arrays '— How do you get the best performance when working with strings?

    Universal STL-Based Template String Class

    Unite the best features from the STL's basic_string and MFC's CString classes using an STL-based template string class. Allows all classes based on this template to be completely interactive with each other. (The article and source code were updated.)

    Guide to BSTR and C String Conversions

    Converting to/from C strings and various Visual Basic BSTR string types.

    CPerlString - A Class to Utilize Perl String Functions

    String manipulation and regular expressions have always been a strength of Perl. Here are two classes that encapsulate some of Perl's most useful string functions for C++. (The source code was updated.)

    Fixed Length Strings

    Fixed Length Strings

    Using Strings with a Switch

    Articles gives simple macros to achieve switch-case on strings. The same philosophy can be extended for switch-case on variables.

    vsscanf - An Implementation for Windows

    A vsscanf() implementation for Windows based on the API available on Unix.

    CString instead of LPCSTR

    A simple routine to allow CString formatted strings to be used wherever a regular LPCSTR would be used, without needing to define a CString (ie, dynamically created and formatted LPCSTR strings)

    Fast Numerical Formatting

    Two functions with very good performance that can be used to format a thousand separator and more.

    CString Extension for String Parsing [sscanf()]

    The class provided here extends the CString class by one function: Scanf().

    Case Insensitive strstr

    Two different ways to do a case insensitive search.

    ApxString - MFC CString Replacement

    A non-MFC alternative to CString.

    Multi Language Resource Strings in a Single MC File

    This article will describe how to provide multiple language resource strings using the RT_MESSAGETABLE format in a single .mc file.

    Simple String Class

    Includes methods for formatting, searching (using wild cards) and numeric conversion to different data types

    CString Extensions for Resource Loading and String Formatting

    Very nice CString extension classes that provide helper functions for loading resource strings and formatting strings

    Class to manipulate UNICODE string on Window 95/98

    Class to manipulate UNICODE string on Window 95/98

    Extending CStringArray

    Advanced CStringArray class with a Find method