Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ref: Converting pipe-delimited text file into STATA

    Dear Stata Experts,

    I am struggling to import data from pipe-delimited text file into STATA. I have found some discussions in this forum but it is not clear to me. Can you please help me by giving the code?

    Any help in this regard would be highly appreciated.

    Regards,

    Aryan

  • #2
    Perhaps
    Code:
    import delimited ... , delimiters("|")
    will do what you need. See help import delimited for details. Or, try using it interactively from Stata's File > Import > Text data (delimited, *.csv, ...) menu item.

    Comment


    • #3
      Dear William,

      Many thanks for your help. It is perfectly working.

      Regards,

      Sudipta

      Comment

      Working...
      X