简单点,循环吧。<br>function Include4(Value: string): Boolean;<br>var<br> i: Integer;<br>begin<br> Result := False;<br> for i := 1 to Length(Value) do<br> if Value = '4' then<br> begin<br> Result := True;<br> break;<br> end;<br>end;