mirror of
https://github.com/sasjs/core.git
synced 2026-01-16 04:50:05 +00:00
chore: updating the docs for mf_getquotedstr
This commit is contained in:
9
all.sas
9
all.sas
@@ -577,11 +577,18 @@ options noquotelenmax;
|
|||||||
@brief Adds custom quotes / delimiters to a delimited string
|
@brief Adds custom quotes / delimiters to a delimited string
|
||||||
@details Can be used in open code, eg as follows:
|
@details Can be used in open code, eg as follows:
|
||||||
|
|
||||||
%put %mf_getquotedstr(blah blah blah);
|
%put %mf_getquotedstr(blah blah blah);
|
||||||
|
|
||||||
which returns:
|
which returns:
|
||||||
> 'blah','blah','blah'
|
> 'blah','blah','blah'
|
||||||
|
|
||||||
|
Alternatively:
|
||||||
|
|
||||||
|
%put %mf_getquotedstr(these words are double quoted,quote=D)
|
||||||
|
|
||||||
|
for:
|
||||||
|
> "these","words","are","double","quoted"
|
||||||
|
|
||||||
@param in_str the unquoted, spaced delimited string to transform
|
@param in_str the unquoted, spaced delimited string to transform
|
||||||
@param dlm= the delimeter to be applied to the output (default comma)
|
@param dlm= the delimeter to be applied to the output (default comma)
|
||||||
@param indlm= the delimeter used for the input (default is space)
|
@param indlm= the delimeter used for the input (default is space)
|
||||||
|
|||||||
@@ -3,11 +3,18 @@
|
|||||||
@brief Adds custom quotes / delimiters to a delimited string
|
@brief Adds custom quotes / delimiters to a delimited string
|
||||||
@details Can be used in open code, eg as follows:
|
@details Can be used in open code, eg as follows:
|
||||||
|
|
||||||
%put %mf_getquotedstr(blah blah blah);
|
%put %mf_getquotedstr(blah blah blah);
|
||||||
|
|
||||||
which returns:
|
which returns:
|
||||||
> 'blah','blah','blah'
|
> 'blah','blah','blah'
|
||||||
|
|
||||||
|
Alternatively:
|
||||||
|
|
||||||
|
%put %mf_getquotedstr(these words are double quoted,quote=D)
|
||||||
|
|
||||||
|
for:
|
||||||
|
> "these","words","are","double","quoted"
|
||||||
|
|
||||||
@param in_str the unquoted, spaced delimited string to transform
|
@param in_str the unquoted, spaced delimited string to transform
|
||||||
@param dlm= the delimeter to be applied to the output (default comma)
|
@param dlm= the delimeter to be applied to the output (default comma)
|
||||||
@param indlm= the delimeter used for the input (default is space)
|
@param indlm= the delimeter used for the input (default is space)
|
||||||
|
|||||||
Reference in New Issue
Block a user