SAS LEARNING SERIES. What is the purpose of INDEX () function? Searches for the position of a substring inside a string. Syntax: variablename=INDEX (Argument, “Search String”); Example: data demo; ...
proc contents data=raw.referral_tracking out=cont_out noprint;run; ...
specifies a numeric expression that is the length of the substring to extract. Tip: If you omit n, SAS extracts the remainder of the expression.
is a character string or a text expression. If argument might contain a special character or mnemonic operator, listed below, use %QSUBSTR. is an integer or an expression (text, logical, or arithmetic ...
INDEX Function in #SAS The INDEX function in SAS is used to search for a substring within a character string. It returns the position of the first occurrence of the substring — and if not found, it ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する