Values of range joined into one string with ';' after each value or empty string if range is empty. Note: If some value of range contains ';' character it's automatically escaped.
assert(DesktopFile.joinValues([""]).empty); assert(equal(DesktopFile.joinValues(["Application", "Utility", "FileManager"]), "Application;Utility;FileManager;")); assert(equal(DesktopFile.joinValues(["I;Me", ";You;We;"]), "I\\;Me;\\;You\\;We\\;;"));
Join range of multiple values into a string using semicolon as separator. Adds trailing semicolon.