Subject Re: Storing Delphi 2009 "UnicodeString" into database, UTF8?
Author tomkrej
--- In firebird-support@yahoogroups.com, Stefan Heymann <lists@...> wrote:
>
> >> 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
>

It is not a function, it's the method of UnicodeString object.

So in C++
UnicodeString s = "alenka";

s = s.SubString(1, 3);

Regards, Tom