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

    CString Manipulation

    Managed Extensions: Measuring Strings

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

    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)

    A Simple CString Tokenizer

    A Simple CString Tokenizer