# -------------------------- # Decode string with letters # -------------------------- #************************************************************************************************************* The subroutine decodes a string which uses letters like _DQUOTE_ to the Salang format. Note, the string might conatin _DOL_ (for $) but it is not converted! That means handle _DOL_ from case to case different. I.e. filter values are passed with _DOL_ encoding to the Salang function and then decoded by the main application. Returns a decoded string **************************************************************************************************************# subroutine(decode_string_with_letters(string the_string), ( the_string = replace_all(the_string, "_PLUS_", "+"); the_string = replace_all(the_string, "_QM_", "?"); the_string = replace_all(the_string, "_EQ_", "="); the_string = replace_all(the_string, "_SQUOTE_", "\'"); the_string = replace_all(the_string, "_DQUOTE_", "\""); the_string; ));