See %SUBSTR and %QSUBSTR Functions.
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.