摘要:
Lazarus 在字符串处理上默认是UTF8编码 UTF8String = type ansistring; 如下面这段代码 s:=trim('abcd123'); lbStrLen1.Caption:=IntToStr(Length(s)); {本身就是UTF8编码} lbStrLen2.Capt 阅读全文
摘要:
type tsArr=array [0..2] of char; tbArr=array [0..2] of byte; procedure TForm1.abc; const str:ansiString='abcde'; var s1:array [0..2] of char; s2:strin 阅读全文