随笔 - 2146  文章 - 19 评论 - 11846 阅读 - 1267万

随笔分类 -  API 字符及字符串函数

WinAPI 字符及字符串函数(15): CharNext、CharPrev
摘要:unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Button2: TButton... 阅读全文
posted @ 2008-11-06 20:26 万一 阅读(4573) 评论(1) 推荐(0) 编辑
WinAPI 字符及字符串函数(14): CharToOem、OemToChar
摘要:CharToOemBuff、OemToCharBuff 与 CharToOem、OemToChar 的区别只是前者可以指定要转换的字符数. unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; t... 阅读全文
posted @ 2008-11-06 19:51 万一 阅读(3614) 评论(3) 推荐(0) 编辑
WinAPI 字符及字符串函数(13): lstrcmp、lstrcmpi - 对比串
摘要:lstrcmp 区分大小写; lstrcmpi 不区分大小写. 返回值: -1、0、1, 其中 0 表示相同. unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 =... 阅读全文
posted @ 2008-11-06 18:46 万一 阅读(5971) 评论(0) 推荐(1) 编辑
WinAPI 字符及字符串函数(12): lstrlen - 串长度
摘要:unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Button2: TButton... 阅读全文
posted @ 2008-11-05 21:49 万一 阅读(3255) 评论(6) 推荐(0) 编辑
WinAPI 字符及字符串函数(11): lstrcpyn - 复制字符串, 同时指定要复制的长度
摘要:unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; procedure Button... 阅读全文
posted @ 2008-11-05 21:39 万一 阅读(3426) 评论(2) 推荐(0) 编辑
WinAPI 字符及字符串函数(10): lstrcpy - 复制字符串
摘要:unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Button2: TButton... 阅读全文
posted @ 2008-11-05 21:18 万一 阅读(4404) 评论(4) 推荐(0) 编辑
WinAPI 字符及字符串函数(9): lstrcat - 合并字符串
摘要:unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Button2: TButton... 阅读全文
posted @ 2008-11-05 20:38 万一 阅读(3613) 评论(5) 推荐(0) 编辑
WinAPI 字符及字符串函数(8): IsCharUpper - 是否是个大写字母
摘要:unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Button2: TButton... 阅读全文
posted @ 2008-11-05 14:37 万一 阅读(2060) 评论(2) 推荐(0) 编辑
WinAPI 字符及字符串函数(7): IsCharLower - 是否是个小写字母
摘要:unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Button2: TButton... 阅读全文
posted @ 2008-11-05 14:36 万一 阅读(2087) 评论(0) 推荐(0) 编辑
WinAPI 字符及字符串函数(6): IsCharAlphaNumeric - 是否是个文字(字母或数字)
摘要:unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Button2: TButton... 阅读全文
posted @ 2008-11-05 14:32 万一 阅读(3271) 评论(3) 推荐(1) 编辑
WinAPI 字符及字符串函数(5): IsCharAlpha - 是否是个字母
摘要:unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Button2: TButton... 阅读全文
posted @ 2008-11-05 14:19 万一 阅读(2301) 评论(0) 推荐(0) 编辑
WinAPI 字符及字符串函数(4): CharUpperBuff - 把缓冲区中指定数目的字符转大写
摘要:unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Button2: TButton... 阅读全文
posted @ 2008-11-05 14:03 万一 阅读(2640) 评论(2) 推荐(0) 编辑
WinAPI 字符及字符串函数(3): CharUpper - 字符或字符串转大写
摘要:unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Button2: TButton... 阅读全文
posted @ 2008-11-05 14:00 万一 阅读(2070) 评论(0) 推荐(0) 编辑
WinAPI 字符及字符串函数(2): CharLowerBuff - 把缓冲区中指定数目的字符转小写
摘要:unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Button2: TButton... 阅读全文
posted @ 2008-11-05 13:10 万一 阅读(2429) 评论(0) 推荐(0) 编辑
WinAPI 字符及字符串函数(1): CharLower - 字符或字符串转小写
摘要:unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Button2: TButton... 阅读全文
posted @ 2008-11-05 11:36 万一 阅读(4287) 评论(0) 推荐(0) 编辑



点击右上角即可分享
微信分享提示