The following query removes the from_string from source_string because to_string is empty.
SELECT OTRANSLATE('diet', 't', '');
Result:
*** Query completed. One row found. One column returned.
*** Total elapsed time was 1 second.
OTRANSLATE('diet','t','')
---------------------------------------------------------------------------
die