https://github.com/bitcoin/bitcoin/blob/5180a86c96bc05d2a731f70f36aae28ab5a3fad4/src/qt/sendcoinsdialog.cpp#L339

I think this is %1, not %2
{
    GUIUtil::setClipboard(ui->labelCoinControlChange->text().left(ui->labelCoinControlChange->text().indexOf(" ")).replace(ASYMP_UTF8, ""));
}
void SendCoinsDialog::coinControlFeatureChanged(bool checked)
{
    ui->frameCoinControl->setVisible(checked);
    if (!checked && model) 
        CoinControlDialog::coinControl->SetNull();
    coinControlUpdateLabels();
}
void SendCoinsDialog::coinControlButtonClicked()
{
    CoinControlDialog dlg(platformStyle);
    dlg.setModel(model);
    dlg.exec();
    coinControlUpdateLabels();
}
void SendCoinsDialog::coinControlChangeChecked(int state)
{
    if (state == Qt::Unchecked)
    {
        CoinControlDialog::coinControl->destChange = CNoDestination();
        ui->labelCoinControlChangeLabel->clear();
    }
    else
        
        coinControlChangeEdited(ui->lineEditCoinControlChange->text());
    ui->lineEditCoinControlChange->setEnabled((state == Qt::Checked));
}
void SendCoinsDialog::coinControlChangeEdited(const QString& text)