Results 1 to 2 of 2

Thread: [VB6] Fast GetStringBetween

  1. #1
    Saiyan Race j03's Avatar
    Join Date
    Dec 2011
    Posts
    12,066
    Userbars
    105
    Thanks
    4,564
    Thanked 24,697 Times in 5,515 Posts
    Downloads
    23
    Uploads
    36
    Mentioned
    3442 Post(s)
    Time Online
    441 d 13 h 35 m
    Avg. Time Online
    3 h 24 m
    Rep Power
    25

    [VB6] Fast GetStringBetween

    Fastest? Well I'd like to say it is as some people claim it to be, but anything is possible

    Here it is:



    An example of using this to grab NP on hand would be:

    lblNP.Caption = GetStringBetween(HTML, "NP: ""/objects.phtml?type=inventory"">", "")

    PS: If you have to use quotation marks in your code, put two like how I did. Otherwise it not work.

  2. #2
    Zachafer's Avatar
    Join Date
    Dec 2011
    Posts
    1,223
    Userbars
    6
    Thanks
    762
    Thanked 1,440 Times in 671 Posts
    Downloads
    97
    Uploads
    0
    Mentioned
    508 Post(s)
    Time Online
    24 d 1 h 19 m
    Avg. Time Online
    11 m
    Rep Power
    18
    Joe I'm pretty sure using Mid$ (even better MidB$) is faster than using Split, especially because the Delimiter parameter is a variant and variants are the slowest data types.

Posting Permissions

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