file data transfer from 1st line in one array and 2nd line value in 2nd array

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hbpam
    New Member
    • Dec 2013
    • 1

    file data transfer from 1st line in one array and 2nd line value in 2nd array

    file data which spilt using new line so first line data in one array and second line data in second array
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    Please look at the documentation for the String object. It provides you with a method called split that will split a line. You have to provide this method with the token that you want to split on...which in your case is new-line.

    -Frinny

    Comment

    Working...