Re: [Gambas-user] Simple question about string object
Brought to you by:
gambas
From: Benoit M. <ga...@us...> - 2008-04-02 17:15:29
|
On mercredi 2 avril 2008, Peter Landgren wrote: > Hi, > > I'm lost. > > I can't see how to define a string object, so that I can get correct > results for UTF-8 when using methods like .Lcase or .Lower. > > /Peter > There is no "string objects". Only a String datatype. The String class methods are all statics. So, for example, if your string is UTF-8 encoded (and only you know that, not Gambas), you convert it to lowercase this way: MyUTF8StringInLowerCase = String.LCase(MyUTF8String) Regards, -- Benoit Minisini |