New string implementation: dstring 1.0
Chad J
"gamerChad\" at spamIsBad gmail.com
Wed Oct 11 14:27:52 PDT 2006
Chris Miller wrote:
> Check out the FAQ at http://www.dprogramming.com/dstring.php and give it
> a spin.
> Documentation is online at
> http://www.dprogramming.com/docs/dstring/dstring.html
>
> Let me know what you think!
Looks cool!
I'm to strapped on time to try it out right now, but I will when I get
the chance. I do have a couple questions and a comment based on the
documentation:
- Is toString() the same as toUTF8()? If so, I'd like to see something
in the documentation to say they are the same.
- Are there plans to extend this to act as a string manipulating library
as well as a string type, adding stuff from phobos like toUpper(),
toLower(), capitalize(), split(), etc? That would be cool.
- Seems like it would be handy to have functions for converting to C
style null terminated strings. Something like char* toUTF8C() and
wchar* toUTF16C().
This looks like a very useful string type. I just hope that if people
like it, it becomes part of the standard library or some such so that
newbs aren't caught by indexing/slicing in the current string-as-array
approach. Anyhow, thanks for doing that.
More information about the Digitalmars-d-announce
mailing list