Subject | Re: [firebird-support] Re: Storing Delphi 2009 "UnicodeString" into database, UTF8? |
---|---|
Author | Stefan Heymann |
Post date | 2009-05-28T11:55:25Z |
>> Is there a substring function in Delphi 2009 that would return theAnd in Delphi? I tried
>> "R"? There seems to be a System::UnicodeString method named SubString,
>> but I can't call it.
> It is not a function, it's the method of UnicodeString object.
> So in C++
> UnicodeString s = "alenka";
> s = s.SubString(1, 3);
var
U, S : UnicodeString;
begin
U := 'DÄR';
S := U.SubString (U, 3, 1);
but Delphi doesn't treat U as something that has methods.
Regards
Stefan