Posts

Showing posts from November, 2020

NOTUPPER AND NOTLOWER

  Function:   NOTLOWER Purpose:   To  determine the position of the first character in a string that is not a lowercase letter. If none is found, the function returns a 0.  With the use of an optional parameter, this function can begin searching at any position in the string and can also search from right to left, if desired.                                    Syntax : NOTLOWER(character-value <,start>)      character-value   Is any SAS character value. Start is an optional parameter that specifies the position in  the string to begin search. If it is omitted,the search starts at the beginning of the string. If it is non-zero, the search begins at the position in the string of the absolute value of the number (starting from the left position in the string). If the start value is positive, the search goes from left to right; if the string is negative, the search goes from right to left, starting at the end of the string. If the value of start  is a positive number longer that the

COMPRESS

Function:   COMPRESS