Macros for SAS Application Developers
https://github.com/sasjs/core
Loading...
Searching...
No Matches
mf_wordsinstr1andstr2.test.sas
Go to the documentation of this file.
1/**
2 @file
3 @brief Testing mf_wordsinstr1andstr2 macro
4
5 <h4> SAS Macros </h4>
6 @li mf_wordsinstr1andstr2.sas
7 @li mp_assert.sas
8
9**/
10
11%let x=%mf_wordsinstr1andstr2(str1=xx DOLLAR x $CHAR xxx W MONNAME
12 ,str2=DOLLAR $CHAR W MONNAME xxxxxx
13);
14%mp_assert(
15 iftrue=(
16 "&x"="DOLLAR $CHAR W MONNAME"
17 ),
18 desc=Checking basic string,
19 outds=work.test_results
20)