Return to Snippet

Revision: 8657
at October 2, 2008 13:19 by webonomic


Initial Code
data _null_ ;

  long='dog cat rat bat dog camel dingo snake bigdog' ;

num_dog=count(long,'dog') ;

  put num_dog= ;

run ;

Initial URL
http://jaredprins.squarespace.com/blog/2008/10/7/some-sas-code-snippets.html

Initial Description

                                

Initial Title
Count up the number of characters in a string

Initial Tags

                                

Initial Language
SAS