|
Macros for SAS Application Developers
https://github.com/sasjs/core |
Returns words that are in both string 1 and string 2. More...
Go to the source code of this file.
Compares two space separated strings and returns the words that are in both.
If either string is empty, nothing is returned.
Usage:
%put %mf_wordsinstr1andstr2( Str1=blah sss blaaah brah bram boo ,Str2= blah blaaah brah ssss );
returns:
blah blaaah brah
| [in] | str1= | () string containing words to extract |
| [in] | str2= | () used to compare with the extract string |
Definition in file mf_wordsinstr1andstr2.sas.