Search notes:

SAS programming, function quote

The length of the returned string (as determined by lengthc) is 200 unless previously set.
data _null_;
   q1 = quote('foo"bar');
   put q1=;                /* q1="foo""bar" */
   l1 = lengthc(q1);
   put l1=;                /* l1=200        */
   length q2 $42.;
   q2 = quote("O'Brian");
   put q2=;                /* q2="O'Brian"  */
   l2 = lengthc(q2);
   put l2=;                /* l2=42         */
run;
Github repository about-SAS, path: /programming/functions/quote.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...', 1759408327, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Companies-Products/SAS/programming/functions/quote(51): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78