摘要: //---------------------------------------------------------------------------#ifndef Unit1H#define Unit1H//---------------------------------------------------------------------------#include <Classes.hpp>#include <Controls.hpp>#include <StdCtrls.hpp>#include <Forms.hpp>#inclu 阅读全文
posted @ 2011-06-12 21:05 瓜蛋 阅读(3009) 评论(0) 推荐(0) 编辑
摘要: varss,s: AnsiString;beginss := 'Hello';s := AnsiQuotedStr(ss, '"'); {参数2是定界符, Char 类型}ShowMessage(s); {"Hello"}s := AnsiQuotedStr(ss, '#');ShowMessage(s); {#Hello#}ss := 'Hello#Hello'; {如果中间包含要添加的定界符, 将被双写}s := AnsiQuotedStr(ss, '#');ShowMessage 阅读全文
posted @ 2011-06-12 17:01 瓜蛋 阅读(397) 评论(0) 推荐(0) 编辑