Jump to content

Work with text delimited


Recommended Posts

Hello,

I have a text delimiteb by TAB that looks like this :

name1 name2 name3 name3 email

name4 name5 name6 name7 email

...

...

I want to read each lines and for each element of the line use a variable. For example, $name1=name1, $name2=name2, $name3=name3, $email=email .

I know the use of $line = FileReadLine($file), but in that case, $line take the value og the whole line.

Am I clear? I can write this message in french ;-)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...