function IsYourStr(const S:string):Boolean;
var
  I:Integer;
begin
  Result:=True;
  for I := 1 to Length(S) do
    if not (S[I] in ['0'..'9',',']) then
    begin
      Result:=False;
      Break;
    end;
end;