摘要:
StrUtils包含大多数字符串操作//类似 AAAA 类似于ABAAAfunction ResemblesText(const AText, AOther: string): Boolean; overload;function AnsiResemblesText(const AText, AOther: string): Boolean; overload;//包含 function ContainsText(const AText, ASubText: string): Boolean; inline; overload;function AnsiContainsText(const . 阅读全文
摘要:
PosEx,Pos都是在一个字符串中搜索子串返回其索引值unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls;type TfrmStrDemo = class(TForm) Edit1: TEdit; ListBoxMatch: TListBox; btnPos: TButton; btnPosEx: TButton; procedure btnPosClick(Sender: ... 阅读全文
摘要:
;Program:Hello World;Author:TryHard;Date:2012/02/06SSEG: SEGMENT PARA STACK ;堆栈段 DW 256 DUP(?) ;256大小SSEG ENDSDSEG SEGMENT ;数据段 MESSAGE DB 'Hello',0DH,0AH,'$' ;0DH,0AH换行,以'$’结束DSEG ENDSCSEG SEGMENT ;代码段 ASSUME CS:CSEG, DS:DSEG,SS:SSEGSTART: MOV AX,D... 阅读全文