1.含义 pos(a,b)函数用法,取出子串a,在父串b中第一次出现的位置。 2.举例 pos(‘A’,‘DDDAD’),则返回结果是4. 3.应用 nicez在strX字符串中是否存在的判断 if (Pos(‘nice’,strX)>0)then begin … end