I have an Array of strings, I am using a Regex statement to split each word out of it and dynamicly put each 1 into the array.

So "Hello world" would be

s(0) = "Hello"
s(1) = "world"

After the code runs. Now my question is, how could I search a textbox or string with the statement WITHOUT knowing how many strings will be created within the array and then returning how many were found of out the total number of strings within the array.