FSTRING procedure
Forms a single string from a list of strings in a text (R.W. Payne).
No options
Parameters
Description
This procedure forms a string from a list of strings. The strings are input in a text specified by the TEXT parameter, and the string is saved using the STRING parameter. The SEPARATOR parameter allows you to specify the characters to separate the strings. The default is to use the characters ', '. The LASTSEPARATOR parameter allows you to supply a different set of characters to separate the last pair of strings. The PREFIX parameter can supply characters to put at the start of the STRING, and the END parameter can supply characters to put at the end.
Options: none.
Parameters: TEXT, STRING, SEPARATOR, LASTSEPARATOR, PREFIX, END.
Method
The output STRING is formed from the input TEXT using CONCATENATE.
Action with
RESTRICT
If the TEXT is restricted, the STRING will be formed only with the units not excluded by the restriction.