Summary
Returns a delimited string of all the filenames within a FileSet
with each filename
separated by the specified delimiter string.
Syntax
[Function("to-string")]
public string ToString(string fileset, string delimiter)
Examples
Displays a space-pipe-space separated string fo the files within a defined FileSet.
<fileset id="test.fileset">
<include name="**/*.cs">
</fileset>
<echo message="${fileset::to-string('test.fileset', ' | ')}">
Attributes
Type |
Description |
Function |
|
Parameters
Name |
Type |
Description |
fileset |
string |
The id of the fileset to check. |
delimiter |
string |
String to separate filenames with. |
Return Value
Type |
Description |
string |
A delimited string of the filenames within the specified FileSet. |