added replaceOnce(string $search, string $replace)