mirror of
https://github.com/sasjs/core.git
synced 2026-01-15 20:40:05 +00:00
chore(docs): updating header in mf_getquotedstr
This commit is contained in:
@@ -16,8 +16,8 @@
|
|||||||
> "these","words","are","double","quoted"
|
> "these","words","are","double","quoted"
|
||||||
|
|
||||||
@param [in] in_str The unquoted, spaced delimited string to transform
|
@param [in] in_str The unquoted, spaced delimited string to transform
|
||||||
@param [in] dlm= The delimeter to be applied to the output (default comma)
|
@param [in] dlm= (,) The delimeter to be applied to the output (default comma)
|
||||||
@param [in] indlm= (,) The delimeter used for the input (default is space)
|
@param [in] indlm= ( ) The delimeter used for the input (default is space)
|
||||||
@param [in] quote= (S) The quote mark to apply (S=Single, D=Double, N=None).
|
@param [in] quote= (S) The quote mark to apply (S=Single, D=Double, N=None).
|
||||||
If any other value than uppercase S or D is supplied, then that value will
|
If any other value than uppercase S or D is supplied, then that value will
|
||||||
be used as the quoting character.
|
be used as the quoting character.
|
||||||
@@ -28,7 +28,10 @@
|
|||||||
**/
|
**/
|
||||||
|
|
||||||
|
|
||||||
%macro mf_getquotedstr(IN_STR,DLM=%str(,),QUOTE=S,indlm=%str( )
|
%macro mf_getquotedstr(IN_STR
|
||||||
|
,DLM=%str(,)
|
||||||
|
,QUOTE=S
|
||||||
|
,indlm=%str( )
|
||||||
)/*/STORE SOURCE*/;
|
)/*/STORE SOURCE*/;
|
||||||
/* credit Rowland Hale - byte34 is double quote, 39 is single quote */
|
/* credit Rowland Hale - byte34 is double quote, 39 is single quote */
|
||||||
%if "e=S %then %let quote=%qsysfunc(byte(39));
|
%if "e=S %then %let quote=%qsysfunc(byte(39));
|
||||||
|
|||||||
Reference in New Issue
Block a user