Projected datasets in one single line using a script tool

Discussion created by dossas1y on Oct 14, 2011
Latest reply on Nov 5, 2014 by GSCUser85

I'm writing a script in python to re-project a set of shapefiles, and I want to report these re-projected shapefiles in a geoprocessing message in "a single line" seperated by commas with no trailing comma at the end, after processing the script tool. I used arcpy.AddMessage(), however, it reported the results in separate lines. I would like to mention that I used a loop here to list all features inside workspace i.e. ListFeatureClasses()

Does anyone have any idea of doing that?