Source position: IdGlobal.pas line 1371
function ReplaceOnlyFirst(
const S: string;
const OldPattern: string;
const NewPattern: string
):string;