函数问题----在线等

Yitao7393 2003-08-30 10:42:44
trim()函数是什么函数,具体用法又如何?
pos()是什么函数以及TRect是什么类型?
数据库中的Raise又是什么意思,它的用法有怎样的?
谢谢指点!
...全文
41 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
chl_ccssddnn 2003-08-30
  • 打赏
  • 举报
回复
trim()函数是将一个字符串中头或未的的空格删掉
pos()指定的一个字符串在另一个字符串中的位置
TRect是个矩型,应该是个类
raise是抛出异常
tiexinliu 2003-08-30
  • 打赏
  • 举报
回复
**********************************pos:****************************************
Returns the index value of the first character in a specified substring that occurs in a given string.

Unit

System

Category

string handling routines

Delphi syntax:

function Pos(Substr: string; S: string): Integer;

Description

In Delphi, Pos searches for a substring, Substr, in a string, S. Substr and S are string-type expressions.

Pos searches for Substr within S and returns an integer value that is the index of the first character of Substr within S. Pos is case-sensitive. If Substr is not found, Pos returns zero.
帮助够详细吧.
ManagerMan 2003-08-30
  • 打赏
  • 举报
回复
同意楼上意见
sailer_shi 2003-08-30
  • 打赏
  • 举报
回复
trim()函数是将一个字符串中头或未的的空格删掉
pos()指定的一个字符串在另一个字符串中的位置
timgreen 2003-08-30
  • 打赏
  • 举报
回复
pos()是在一个字符串中查找一个字串的trim()我也不知道

5,388

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 开发及应用
社区管理员
  • VCL组件开发及应用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧