摘要: Lazarus 在字符串处理上默认是UTF8编码 UTF8String = type ansistring; 如下面这段代码 s:=trim('abcd123'); lbStrLen1.Caption:=IntToStr(Length(s)); {本身就是UTF8编码} lbStrLen2.Capt 阅读全文
posted @ 2012-11-27 14:23 海利鸟 阅读(3793) 评论(1) 推荐(1) 编辑
摘要: 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 阅读全文
posted @ 2012-11-27 00:11 海利鸟 阅读(1144) 评论(0) 推荐(0) 编辑