摘要:
//---------------------------------------------------------------------------#ifndef Unit1H#define Unit1H//---------------------------------------------------------------------------#include <Classes.hpp>#include <Controls.hpp>#include <StdCtrls.hpp>#include <Forms.hpp>#inclu 阅读全文
摘要:
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 阅读全文