Substring function


/ Published in: SAS
Save to your folder(s)

SUBSTRN(String,Start,count)


Copy this code and paste it in your HTML
  1. * The following substring function would give the same results;
  2. PROC SQL;
  3.  
  4. SELECT *
  5. FROM bluesky.client
  6. WHERE SUBSTRN(cont_fst,1,1) = 'A';

URL: http://ftp.sas.com/samples/A58546

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.