字符串函数_比较字符串与字符串集合
来源:互联网 发布:乱码修复软件 编辑:程序博客网 时间:2024/06/06 23:56
引用StrUntil.pas单元
里面有两个函数可以比较字符串与字符串集合,判断是否字符串在字符串集合中。
函数 function AnsiMatchStr(const AText: string; const AValues: array of string): Boolean; $[StrUtils.pas
功能 返回字符串数组AValues中是否包含字符串AText
说明区分大小写
参考 function StrUtils.AnsiIndexStr
例子 CheckBox1.Checked := AnsiMatchStr(Edit1.Text, ['a1', 'a2', 'a3', 'a4']);
函数 function AnsiMatchText(const AText: string; const AValues: array of string): Boolean; $[StrUtils.pas
功能 返回字符串数组AValues中是否包含字符串AText
说明不区分大小写
参考 function StrUtils.AnsiIndexText
例子 CheckBox1.Checked := AnsiMatchText(Edit1.Text, ['a1', 'a2', 'a3', 'a4']);
- 字符串函数_比较字符串与字符串集合
- 指针与字符串_字符串处理函数
- 宽字符串与字符串比较函数
- C++字符串函数与C字符串函数比较
- 字符串比较函数
- 字符串比较函数
- delphi 字符串比较函数
- 字符串Hash函数比较
- 字符串比较函数
- c 字符串比较函数
- php字符串比较函数
- php字符串比较函数
- javascript 字符串比较函数
- php--字符串比较函数
- 字符串比较函数strcmp
- 字符串比较函数总结
- 字符串比较函数收获
- 字符串比较函数
- 出人意料,印度Q3个人电脑销量不降反升
- hdoj1176 免费馅饼 (DP)
- 经典数据结构之链表实现的栈
- adb server is out of date. killing...
- PS滤镜有的时候不能用?
- 字符串函数_比较字符串与字符串集合
- 编写一个递归算法,实现将一颗二叉树的左右孩子互换。
- 线程总结(一)
- opt/FriendlyARM/toolschain/4.4.3/bin/.arm-none-linux-gnueabi-ld: cannot find -lc
- oracle 帐号管理
- 生成代码
- HTML入门之2.1
- 常用类库-01图片:生成缩略图
- 简介 WatiN是一个开源的用于Web测试自动化的类库,从watir中获得的灵感,使用C#开发。WatiN通过与浏览器的交互来实现自动化,使用起来具有轻便,简单的特点。目前最新版本为2.0,加入了对