|
Macros for SAS Application Developers
https://github.com/sasjs/core |
Removes character(s) from the end, if they exist. More...
Go to the source code of this file.
If the designated characters exist at the end of the string, they are removed
%put %mf_trimstr(/blah/,/); * /blah; %put %mf_trimstr(/blah/,h); * /blah/; %put %mf_trimstr(/blah/,h/);* /bla;
| [in] | basestr | The string to be modified |
| [in] | trimstr | The string to be removed from the end of basestr, if it exists |
trimstr removed from the endDefinition in file mf_trimstr.sas.