when using %STR([email protected];[email protected];[email protected]); This gives me the result: [email protected];[email protected];[email protected] which is what I want. and this is a macro variable called &email. I need this semicolon in between any two emails but no semicolon after the last email But for someone who has an single quote in her email address like O'Connor, %str will automatically match the single quote using %STR([email protected];[email protected];lily.O'[email protected]) will cause error. How can I get the result [email protected];[email protected];lily.O'[email protected] by using %str or any other macro quote function like %bquote or anything else to keep that single quote unmatched?
THE EMAIL LIST IS imported from excel list and I already put% before the single quote in the excel file: lily.O%'[email protected] and HOW can I get the the macro variable &email. value inside the %str(), namely: [email protected];[email protected];lily.O%'[email protected] then I can put macro variable into %str()?