Android Question writelist: one line per item?

Discussion in 'Android Questions' started by solfinker, Jun 24, 2015.

  1. solfinker

    solfinker Member Licensed User

    Supposedly, File.writelist(File.DirRootExternal, "whatever.txt", list1) writes a line for each item in list1, but this is not what I am getting.
    I suppose I am missing some split parameter, as I get one line text file.

    Can you help me?

    Thank you.
  2. DonManfred

    DonManfred Expert Licensed User

    Yes it did
    Dim l As List
    File.WriteList(File.DirRootExternal, "file_writelist.txt", l)
    creates this file...

    lemonisdead likes this.
  3. Erel

    Erel Administrator Staff Member Licensed User

    My guess is that you are using Notepad to check the file. Don't. Use a better text editor such as Notepad++.
  4. solfinker

    solfinker Member Licensed User

    You both are right.
    I was using NotePad.
    Thank you very much.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice