Hi. I am using WriteList to save a file - works great - except it adds a carriage return to the end of the list. So a list with 2 items is actually 3 lines long. The (non-android) software I use to open the created file checks the number of lines - and rejects my file as it is one line too many. Any idea how to stop (or remove) this extra carriage return? Thank you.....
B4X:
Dim saved As List
saved.Initialize
saved.Add("Item1")
saved.Add("Item2")
File.MakeDir(File.DirInternal, "/mydirectory")
File.WriteList(File.DirInternal&"/mydirectory", "savedfile", saved)