摘要: delphi的字符截取函数LeftStr, MidStr, RightStr这几个函数都包含在StrUtils中,所以需要uses StrUtils; 假设字符串是 Dstr := ’Delphi is the BEST’, 那么 LeftStr(Dstr, 5) := ’Delph’ MidStr(Dstr, 6, 7) := ’i is th’ RightStr(Dstr, 6) := ’e BEST’ ~~~~~~~~~~~~~~~~~~~~~~~~~ function RightStr (Const Str: String; Size: Word): String; begin... 阅读全文
posted @ 2012-10-25 18:08 许小东 阅读(302) 评论(0) 推荐(0)