我要对一字符串进行判断,判断其中是否含有字符‘=’该怎么办?
  必当高分回报,言出必行!

解决方案 »

  1.   

    Result := Pos('=', aString) > 0;捐点可用分给我吧
      

  2.   

    if pos('=',s)>0 then
      有
    else
      没有
      

  3.   

    function Pos(Substr: string; S: string): Integer;if pos(你是字符串,'=')> 0 then.....
      

  4.   

    pos        函数     在字符串中搜索子串 
      

  5.   

    var
      i: integer;
    begin
      i := pos(你是字符串,'=')
      if i >0 then
      showmessage('有=')
      else
       showmessage('没有=');
    end;
      

  6.   

    用pos
    有问题请发信息到我的E-mail:[email protected]
      

  7.   

    if pos(你是字符串,'=')> 0 then.....if strpos(你是字符串,'=')<> nil then.....