Bonjour,
Effectivement ces fonctions sont assez comliquées; mais je sens qu'on arrivera à trouver une solution.
%BQUOTE and %NRBQUOTE ajissent au moment de l'exécution.
%STR and %NRSTR agissent au moment de la compilation
Ci dessous un extrait du sashelp:
%BQUOTE and %NRBQUOTE Functions
Mask special characters and mnemonic operators in a resolved value at macro execution
' " ( ) + - * / < > = ¬ ^ ~ ; , blank AND OR NOT EQ NE LE LT GE GT
%NRBQUOTE masks & %
%STR and %NRSTR Functions
Mask special characters and mnemonic operators in constant text at macro compilation
+ - * / < > = ¬ ^ ~ ; , blank
AND OR NOT EQ NE LE LT GE GT
They also mask the following characters when they occur in pairs and when they are not matched and are marked by a preceding % : ' " ( )
In addition, %NRSTR also masks the following characters: & %
Est ce que tu peux nous dire ce que tu veux faire avec ta chaine?
Cordialement
Partager