Search notes:

SAS programming, function lengthc

data _null_;
  format var_1  $42.;
  var_2 = 'foo bar baz';
  l=length (var_1); put l=; /* l=1  */
  c=lengthc(var_1); put c=; /* c=42 */
  l=length (var_2); put l=; /* l=11 */
  c=lengthc(var_2); put c=; /* c=11 */
  var_2 = 'xyz';
  l=length (var_2); put l=; /* l=3  */
  c=lengthc(var_2); put c=; /* c=11 */
run;
Github repository about-SAS, path: /programming/functions/lengthc.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...', 1759408128, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Companies-Products/SAS/programming/functions/lengthc(48): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78