How to prepend text to custom field value A, but only if custom field value B matches a certain string?

How to prepend text to custom field value A, but only if custom field value B matches a certain string?

techhipbettruvabetnorabahisbahis forumuedusedueduseduedusedueduseduedusedus