Pts for zzzzzooc

Lostie
Lostie used Ask the Experts™
on
For his exceptional help over a number of days in http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_20724579.html - especially considering I was using a version of VB that he didn't have or know much about, so he recoded his example no less than 3 times, with multiple different methods in case one didn't work.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
ty :)

I didn't notice you mentioning StrComp() as being supported in it (darn quick skimming) so that method might work better with sorting.

Author

Commented:
Maybe, but it doesn't like start and end tags that are different lengths to [names] and [/names], ie [naaaames] won't work :p Hopefully the other guy will see it and change the needed len()'s ? :-)

Commented:
In that case:

GetNames = Mid(strTemp, nStart + 9, nEnd - nStart - 9)

Change the 9s to "Len("[Whatever Text]") + 2"  whereas "2" is equal to the length of a "return" (vbCrLf)

Author

Commented:
Yeah I just figured that out and was about to post as such, think I'll have the tag as a variable and just len(tag) +- whatever wherever needed, thanks again :)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial