Results 1 to 3 of 3

Thread: [RESOLVED] vb6; parsing text to list listbox

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2016
    Posts
    224

    Resolved [RESOLVED] vb6; parsing text to list listbox

    i solved it my self
    in case anyone need this here is code:

    List1.Clear
    Dim sInput As String
    sInput = Text1.Text
    Dim Item
    For Each Item In Split(sInput, "</option>")
    Item = Mid(Item, InStrRev(Item, ">") + 1)
    If Len(Item) Then List1.AddItem Item
    Next
    Last edited by geekmaro; Jul 5th, 2021 at 04:09 PM.

Tags for this Thread

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