Find method - finding multiple values
I'm trying to keep the code writing effecient, clear and down to a minimum.
thanks.
"Jim Thomlinson" wrote:
Nope and there would be no real point to it. The find function finding all
instances of B and then finding all of the instances of S would be the same
as finding all of the instaces of B or S. It would not be any more efficient
one way or the other becuase the find has to do the exact same amount of work
finding all instances of B and all instance of S.
--
HTH...
Jim Thomlinson
"nathan" wrote:
Is there simple way to use "find" to search for more than one string? i.e.
find "b" or find "s", without running separate a "find" code for each string.
this doesn't work, but explains what I want to do: .find(what:="b" or "s")
thanks again.
|