Created
May 30, 2018 08:18
-
-
Save ZaeemSattar/da4fc1cfcc3f03e1247074c2ce7f3fd3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val csvBuilder = StringBuilder() | |
for (city in models) { | |
csvBuilder.append(city.number) | |
csvBuilder.append(",") | |
} | |
var csv = csvBuilder.toString() | |
csv = csv.substring(0, csv.length - ",".length) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment