[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [Vala] Starting with Vala, problems with strings
- From: Yu Feng <rainwoodman gmail com>
- To: Diego Jacobi <jacobidiego gmail com>
- Cc: vala-list <vala-list gnome org>
- Subject: Re: [Vala] Starting with Vala, problems with strings
- Date: Mon, 20 Apr 2009 03:35:02 -0400
On Sun, 2009-04-19 at 23:33 +0200, Frederik wrote:
> Diego Jacobi wrote:
> > Why isnt string = GString ?
> > Also i am courius why is it called StringBuilder? It sound like "not a GString".
>
> In order to resemble C# and Java which both have [s|S]tring and
> StringBuilder.
>
> string = char * (immutable)
> StringBuilder = GString (mutable)
>
...Although there are a few special functions on string that modify the
string in-place.
Also GString is not intended for text manipulation. It doesn't know more
about utf8 other than append_unichar.
>
> Regards,
>
> Frederik
> _______________________________________________
> Vala-list mailing list
> Vala-list gnome org
> http://mail.gnome.org/mailman/listinfo/vala-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]