» Site Navigation | | | » Advertisement | | | » Recent Threads | Lil Wayne 10-21-2008 09:33 PM Today 02:11 AM 45 Replies, 365 Views | | | | | | | | | |  | |  | VB6 GetBetween |  |
04-08-2007, 09:14 PM
|
#1 (permalink)
| | | VB6 GetBetween The fastest and most memory efficiently writable 'GetStringBetween' function. Code: Public Function GB(rC As String, rS As String, rF As String, Optional lgB As Long = 1) As String
lgB = InStr(lgB, rC, rS) + Len(rS): GB = Mid$(rC, lgB, InStr(lgB, rC, rF) - lgB)
End Function MsgBox GB("sockapensockopen", "sock", "pen") - will return an 'a'. MsgBox GB("sockapensockopen", "sock", "pen", 2) - will return an 'o'.
Last edited by sockopen; 04-13-2007 at 11:26 PM.
| |
| |
04-09-2007, 12:57 AM
|
#2 (permalink)
| Underground
Join Date: Sep 2006 Location: BrisBANE <---- Age: 19 Posts: 5,025
GPoints: 318 Rep Power: 16 | mm can we use this with strings?
like
strDate = (strHTML, "blahblah", "Blah Blah")
??
__________________ This is from:
Screenies Of A Mod Code: How did you do it? FLP , jotform, some other form of hacking? - First Class Noob Lawl.. funny shit.
Quote: |
Originally Posted by Kore By k[ore] on Today, 08:44 AM
i'll give you rep alright, but it won't be positive. | Lawl Ownt
Hoes forgot to eat a dick and shut the FUCK UP! | |
| |
04-09-2007, 09:04 AM
|
#3 (permalink)
| | | Quote:
Originally Posted by Kane mm can we use this with strings?
like
strDate = (strHTML, "blahblah", "Blah Blah")
?? | Yes, that's primarily what it was developed for. | |
| |
04-11-2007, 01:05 AM
|
#4 (permalink)
| Underground
Join Date: Sep 2006 Location: BrisBANE <---- Age: 19 Posts: 5,025
GPoints: 318 Rep Power: 16 | Thanks Ill try it out sometime  Next time I use GSB, Ill use this one  good work.
__________________ This is from:
Screenies Of A Mod Code: How did you do it? FLP , jotform, some other form of hacking? - First Class Noob Lawl.. funny shit.
Quote: |
Originally Posted by Kore By k[ore] on Today, 08:44 AM
i'll give you rep alright, but it won't be positive. | Lawl Ownt
Hoes forgot to eat a dick and shut the FUCK UP! | |
| |
04-15-2007, 10:36 PM
|
#5 (permalink)
| Banned
Join Date: Apr 2007 Posts: 95
GPoints: 5 Rep Power: 0 | Looks UB3R F4$T H4CK3R.
(Looks UBER FAST HACKER.)
JKJK
Is this right then: Code: MsgBox GB("neopetseatscandy", "neopets", "candy") That would show a MSGBOX that says eats?
---
edit: got my answer | |
| |
04-19-2007, 01:51 AM
|
#6 (permalink)
| Underground
Join Date: Sep 2006 Location: BrisBANE <---- Age: 19 Posts: 5,025
GPoints: 318 Rep Power: 16 | Sadly the bad thing with this is when you if cant find it you get an error & the program closes.
__________________ This is from:
Screenies Of A Mod Code: How did you do it? FLP , jotform, some other form of hacking? - First Class Noob Lawl.. funny shit.
Quote: |
Originally Posted by Kore By k[ore] on Today, 08:44 AM
i'll give you rep alright, but it won't be positive. | Lawl Ownt
Hoes forgot to eat a dick and shut the FUCK UP! | |
| |
04-19-2007, 03:12 AM
|
#7 (permalink)
| Underground
Join Date: Jan 2007 Location: Russia Age: 14 Posts: 226
GPoints: 31 Rep Power: 6 | Its a twoliner D:
But put On Error Resume Next and you'll be fine.
__________________ Quote: Vlad says:
LEL 20 DUELRZ PLIZ ;O
Ryan says:
HAHA NO LOL
Vlad says:
You like men. | ^Lesson learnt. | |
| |
04-19-2007, 03:19 AM
|
#8 (permalink)
| Underground
Join Date: Sep 2006 Location: BrisBANE <---- Age: 19 Posts: 5,025
GPoints: 318 Rep Power: 16 | Thanks Vlad 
__________________ This is from:
Screenies Of A Mod Code: How did you do it? FLP , jotform, some other form of hacking? - First Class Noob Lawl.. funny shit.
Quote: |
Originally Posted by Kore By k[ore] on Today, 08:44 AM
i'll give you rep alright, but it won't be positive. | Lawl Ownt
Hoes forgot to eat a dick and shut the FUCK UP! | |
| |
04-27-2007, 05:33 PM
|
#9 (permalink)
| Banned
Join Date: Apr 2007 Posts: 95
GPoints: 5 Rep Power: 0 | Is this thingg outdated? | |
| |
04-27-2007, 05:37 PM
|
#10 (permalink)
| Banned
Join Date: Feb 2007 Posts: 100
GPoints: 20 Rep Power: 0 | Quote:
Originally Posted by Zachafer Is this thingg outdated? | it could never outdate lol | |
| |  | | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | |