Array merge and sort

Vino.B vino.bheeman at hotmail.com
Wed Sep 20 06:29:17 UTC 2017


Hi All,

  My code output's the below so can any one help me on hot to 
merege all tese array and sort the same.

Output :
[ Tuple!(string, string)("C:\\Temp\\TEST1\\BACKUP\\DND1.pdf", 
"2017-Sep-06 16:06:42") ]
[ Tuple!(string, string)("C:\\Temp\\TEST2\\EXPORT\\DND1.pdf", 
"2017-Sep-06 16:06:43")]
[ Tuple!(string, string)("C:\\Temp\\TEST3\\PROD_TEAM\\DND1.pdf", 
"2017-Sep-06 16:06:43")]
[ Tuple!(string, string)("C:\\Temp\\TEST4\\TEAM\\DND1.pdf", 
"2017-Sep-06 16:06:44") ]

Code :
foreach (string FFs; parallel(CleanDirlst[0 .. $], 1)) {
	MCresult.get ~= coCleanFiles(FFs.strip, Step);
	}
	foreach(i; MCresult.toRange)
		if (!i.empty) { writefln("%(%-(%-63s %s %)\n%)", i[]); }


From,
Vino.B


More information about the Digitalmars-d-learn mailing list