Delphi Check If String Python Replace Function In String