Macros for SAS Application Developers
https://github.com/sasjs/core
Toggle main menu visibility
Home
File List
▼
@sasjs/core
Macro Core
▼
File List
►
base
►
ddl
►
fcmp
►
lua
►
meta
►
metax
►
server
▼
tests
▼
base
mcf_getfmttype.test.sas
mcf_init.test.sas
mcf_length.test.sas
mcf_string2file.test.sas
mf_dedup.test.sas
mf_deletefile.test.sas
mf_existds.test.sas
mf_existfileref.test.sas
mf_existfunction.test.sas
mf_existvar.test.sas
mf_fmtdttm.test.sas
mf_getapploc.test.sas
mf_getfilesize.test.sas
mf_getfmtlist.test.sas
mf_getfmtname.test.sas
mf_getgitbranch.test.sas
mf_getuniquefileref.test.sas
mf_getuniquelibref.test.sas
mf_getvarcount.test.sas
mf_getvarlist.test.sas
mf_increment.test.sas
mf_isint.test.sas
mf_islibds.test.sas
mf_readfile.test.sas
mf_verifymacvars.test.sas
mf_wordsinstr1andstr2.test.sas
mf_wordsinstr1butnotstr2.test.sas
mf_writefile.test.sas
mp_abort.test.nofix.sas
mp_aligndecimal.test.sas
mp_appendfile.test.sas
mp_applyformats.test.sas
mp_assert.test.sas
mp_assertcolvals.test.sas
mp_assertdsobs.test.sas
mp_assertscope.test.sas
mp_base64copy.test.sas
mp_binarycopy.test.sas
mp_chop.test.sas
mp_cleancsv.test.sas
mp_cntlout.test.sas
mp_copyfolder.test.sas
mp_coretable.test.sas
mp_createwebservice.test.sas
mp_deletefolder.test.sas
mp_dictionary.test.sas
mp_dirlist.test.sas
mp_ds2cards.test.sas
mp_ds2csv.test.1.sas
mp_ds2csv.test.2.sas
mp_ds2fmtds.test.sas
mp_ds2inserts.test.sas
mp_ds2md.test.sas
mp_ds2squeeze.test.sas
mp_dsmeta.test.sas
mp_filtercheck.test.sas
mp_filtergenerate.test.sas
mp_filterstore.test.1.sas
mp_filterstore.test.2.sas
mp_filtervalidate.test.sas
mp_getcols.test.sas
mp_getconstraints.test.sas
mp_getddl.test.sas
mp_getformats.test.sas
mp_getmaxvarlengths.test.sas
mp_getpk.test.sas
mp_gitadd.test.sas
mp_gitlog.test.sas
mp_gitreleaseinfo.test.sas
mp_gitstatus.test.sas
mp_gsubfile.test.sas
mp_hashdataset.test.sas
mp_hashdirectory.test.sas
mp_init.test.sas
mp_jsonout.test.1.sas
mp_jsonout.test.2.sas
mp_jsonout.test.3.sas
mp_lib2inserts.test.sas
mp_loadformat.test.1.sas
mp_loadformat.test.2.sas
mp_lockanytable.test.sas
mp_lockfilecheck.test.sas
mp_makedata.test.sas
mp_md5.test.sas
mp_replace.test.sas
mp_reseterror.test.sas
mp_resetoption.test.sas
mp_retainedkey.test.sas
mp_searchcols.test.sas
mp_searchdata.test.sas
mp_sortinplace.test.sas
mp_stackdiffs.test.sas
mp_storediffs.test.sas
mp_streamfile.test.sas
mp_stripdiffs.test.sas
mp_validatecol.test.sas
mp_webin.test.sas
mp_zip.test.sas
►
ddlonly
►
sas9only
►
serveronly
►
viyaonly
►
x-platform
►
viya
►
xplatform
•
All
Files
Pages
Loading...
Searching...
No Matches
mf_wordsinstr1butnotstr2.test.sas
Go to the documentation of this file.
1
/**
2
@file
3
@brief Testing mf_wordsinstr1butnotstr2 macro
4
5
<h4> SAS Macros </h4>
6
@li mf_wordsinstr1butnotstr2.sas
7
@li mp_assert.sas
8
9
**/
10
11
%let x=%mf_wordsinstr1butnotstr2(str1=xx DOLLAR x $CHAR xxx W MONNAME
12
,str2=ff xx x xxx 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
)
tests
base
mf_wordsinstr1butnotstr2.test.sas
Generated by
1.12.0
For more information visit the
Macro Core library
.