1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-06 17:10:05 +00:00

feat: new wordsinstr1andstr2() macro and associated tests

This commit is contained in:
munja
2021-12-21 21:54:48 +00:00
parent 2ec440b321
commit bce56d8105
4 changed files with 148 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
/**
@file
@brief Testing mf_wordsinstr1andstr2 macro
<h4> SAS Macros </h4>
@li mf_wordsinstr1andstr2.sas
@li mp_assert.sas
**/
%let x=%mf_wordsinstr1andstr2(str1=xx DOLLAR x $CHAR xxx W MONNAME
,str2=DOLLAR $CHAR W MONNAME xxxxxx
);
%mp_assert(
iftrue=(
"&x"="DOLLAR $CHAR W MONNAME"
),
desc=Checking basic string,
outds=work.test_results
)