Link to home
Start Free TrialLog in
Avatar of Lostie
Lostie

asked on

Pts for zzzzzooc

For his exceptional help over a number of days in https://www.experts-exchange.com/questions/20724579/String-manipulation-Get-all-data-between-2-points-in-a-variable-and-sort-into-alphabetical-order.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.
ASKER CERTIFIED SOLUTION
Avatar of zzzzzooc
zzzzzooc

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Lostie
Lostie

ASKER

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 ? :-)
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)
Avatar of Lostie

ASKER

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 :)