B4J Code Snippet Text File To List Variable

Discussion in 'B4J Code Snippets' started by Mashiane, May 22, 2019.

  1. Mashiane

    Mashiane Expert Licensed User

    Ola

    I'm working on some random data generator so I need to be processing some lists. After I downloaded a list of countries from the interweb, I needed a way to quickly convert this into a list variable for my B4J program.

    When a file is selected, its read into a list and the code generated as a B4J variable with all the names on the file.

    Text2List.gif
     

    Attached Files:

    Last edited: May 23, 2019
Loading...
  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