Delphi经典实例11------特殊字符处理
2010-05-25 14:42
323 查看
如下图所示建立工程:
代码如下:
代码如下:
unit mainunit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Button2: TButton; procedure Button1Click(Sender: TObject); procedure Button2Click(Sender: TObject); private { Private declarations } public { Public declarations } end; var Form1: TForm1; implementation {$R *.dfm} procedure TForm1.Button1Click(Sender: TObject); begin ShowMessage('It is xiaoyang'+#39+'s photo'); end; procedure TForm1.Button2Click(Sender: TObject); begin ShowMessage('This is a special char handle demo!'+#13#10+'Please enjoy it.'+#13#10+'All Rights reserved.'); end; end.
相关文章推荐
- 数据库查询特殊字符&的处理方法
- js:使用JSON.stringify的时候,对\n等特殊字符的处理
- j2ee学习笔记URLEncoder.encode(String , enc)处理特殊字符
- 特殊字符的处理
- 用NSURLConnection Post上传数据的特殊字符处理
- (手机表情过滤) Emoji与unicode特殊字符的处理
- jsp当中JSTL对特殊字符的处理(单引号、双引号、小于号、大于号和&符号)
- oracle中使用单引号或者其他特殊字符处理方法
- sql特殊字符处理
- XML的特殊字符处理
- ajax请求中传递的参数中如果含有特殊字符怎么处理?
- php处理字符串,判断是否含有特殊符号,非中文,数字,字符
- XAML中的特殊字符以及空白的处理
- Oracle命令行导入导出(用户名或密码包含特殊字符的特殊情况处理)
- Mongodb存储特殊字符串报错的处理
- Json特殊字符处理
- 对javascript特殊字符的处理
- XML中特殊字符的处理方式
- java处理SQL特殊字符转义 防止sql注入
- iOS高访新浪微博界面(讲解如何自定义UITableViewCell,处理@#链接 特殊字符)