From: Ned Konz Date: 2002-07-08T06:19:58+09:00 Subject: Re: is there a better string.each? On Sunday 07 July 2002 01:13 pm, Austin Ziegler wrote: > C and C++ are very bad examples of this because they have > notoriously poor string handling. Certainly the ANSI C++ string class has a very different (and much richer) interface than C's NUL-terminated arrays of char and the str* routines. And they allow pretty much any plain'old'data type to be a representation of a character (through string traits). For instance, the same algorithms work with wide as with non-wide character strings. I can't imagine anyone purposely using C-style strings in C++ unless they're writing for very constrained embedded systems (if they have to interface to C libraries, they can still use the C++ strings). -- Ned Konz http://bike-nomad.com GPG key ID: BEEA7EFE