Delphi Check If String Python Replace All Occurrences