function DeleteString(MyString:String):String;<br>var <br> I: Integer;<br>begin<br> Result := '';<br> I := Length(MyString);<br> while I > 0 do<br> begin<br> if MyString <> ':' then<br> Result := Result + MyString;<br> I := I - 1;<br> end;<br> if pos(':',MyString) = 0 then<br> Result := MyString;<br>end;