Search notes:

SAS programming, function tranwrd

data _null_;

     text  = 'foo bar baz';
     a2AAA = tranwrd(text, 'a', ' AAA '); 
     ba2BA = tranwrd(text, 'ba', 'BA'  );  

     put a2AAA=; /* a2AAA=foo b AAA r b AAA z */
     put ba2BA=; /* ba2BA=foo BAr BAz         */

run;
Github repository about-SAS, path: /programming/functions/tranwrd.sas

See also

functions

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Companie...', 1759408129, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Companies-Products/SAS/programming/functions/tranwrd(47): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78