This file does not contain executable code but comments reminding that the SUBSTR function does not support negative positions, while SCAN allows it to traverse the string in reverse order.
Data Analysis
Type : CREATION_INTERNE
No data is read or created by this script.
1 Code Block
COMMENTAIRE
Explanation : Technical comments on parameter usage for SUBSTR and SCAN functions.
Copied!
/*#substr()&scan()#*/
/*substr not use '-1' for the position paramter*/
/*scan can use '-1' for the reverse order of the string*/
1
/*#substr()&scan()#*/
2
/*substr not use '-1' for the position paramter*/
3
/*scan can use '-1' for the reverse order of the string*/
This material is provided "as is" by We Are Cas. There are no warranties, expressed or implied, as to merchantability or fitness for a particular purpose regarding the materials or code contained herein. We Are Cas is not responsible for errors in this material as it now exists or will exist, nor does We Are Cas provide technical support for it.
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration. WeAreCAS is an independent community site and is not affiliated with SAS Institute Inc.
This site uses technical and analytical cookies to improve your experience.
Read more.