Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-11

Cyrillic symbol check

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Kamen Kamen
Hello.
In Listviev I have Cyrillic characters. How can I use it to check whether it is this that I want or else? For example I do:
var
    ListItem: TListItem;
C: TUTF8Char;
begin
C := Trim(ListItem.SubItems[6]);    // -->

'?'

if C = '?'

      then rbMan.Checked:=true

else if Trim(ListItem.SubItems[6]) = '?'

 then rbWoman.Checked:=true
else rbDrugo.Checked:=true;
end;

Regards,
Kamen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20131106/0fb4ff59/attachment.html>

Reply by email