CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2000
    Posts
    67

    splitting text strings

    My problem: I have a textfile coming who i read into a textbox. It is a long textfile, and I need to split it up at linefeed or carrige return to get it right in to the next program (ibm mqseries) who needs the data in the right order... Any suggestions? (Thanks for good help!)


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: splitting text strings

    use the split function in VB 6:
    dim a() as string
    a = split(yourText, vbcrlf)


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured