Java Create Empty String Python Replace