Discussion Locked

Points:andrew@williams & mark thomson

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

This is only for:

mark.thomson@eudoramail.com
and
andrew@williamscomputing.com

Please DO NOT ANSWER unless you are one of the above!

==============================================
Sorry, forgot to raise the points, (so each ofyou get 500), from my question on using the Split/Join functions.

By the way:

I did find a VB function to solve the problem...It's the Filter function - didn't even know that it existed. It is used on one dimensional arrays, like the Join and Split, and can be used to remove an item from an array AND re-dimension it! Watch this:

sTestList = "A,B,C,D,E"

'Create Array from List
vList=Split(sTestList,cComma)

'Remove an item from array
vList=Filter(vList,"C",False)

'Re-build list
sTestList=Join(vList,cComma)

That was the type of answer that I was looking for! Cool!

Anyways, Thanks guys.

5 replies

by andrew

Thanks for the points.
Filter() is a new one for me too!
I can't believe there's a function that does such a specific set of tasks.

This discussion is closed to new replies.