Subject | Re: Storing Delphi 2009 "UnicodeString" into database, UTF8? |
---|---|
Author | tomkrej |
Post date | 2009-05-25T11:56:09Z |
--- In firebird-support@yahoogroups.com, Stefan Heymann <lists@...> wrote:
So in C++
UnicodeString s = "alenka";
s = s.SubString(1, 3);
Regards, Tom
>It is not a function, it's the method of UnicodeString object.
> >> For "DÄR" with Ä coded as A + diacritic composite ("DA¨R"), what exactly
> >> does substring(MyDÄRstring, 3, 1) mean? Is it the diacritic '¨' or the
> >> 'R'?
>
> > The correct answer would be "R"
>
> Is there a substring function in Delphi 2009 that would return the
> "R"? There seems to be a System::UnicodeString method named SubString,
> but I can't call it.
>
> Regards
>
> Stefan
>
So in C++
UnicodeString s = "alenka";
s = s.SubString(1, 3);
Regards, Tom