Results 1 to 22 of 22

Thread: Seperating text in a textbox?

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2009
    Posts
    78

    Seperating text in a textbox?

    Let's say I paste this text in textbox1

    "firstname" : john, "lastname" : smith, "country" : usa, "firstname" : billy, "lastname" : brown, "country" : canada, "firstname" : richard, "lastname" : wong, "country" : usa

    How could I split up each "firstname, lastname, and country" up? And like add them to 3 listboxes?

    I'm pretty much self taught visual basic, using a lot of forums and all, andwas wondering if this is possible. I normally google too but i really have no idea what query I would search (the term). Atm, I'm having troubles making a find replace replaceall thing, so I really can't see myself making something like find '"firstname" : ' and get the text after that till the coma.

    So if someone could direct me to somewhere, explain how it works, and/or give an example it'd be great
    Last edited by Raeki; Oct 20th, 2010 at 12:29 AM.

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