mob
verb
Say(T as text)
if(length(T) >= 5)
//blah
That would do if a word had more than 5 letters, or if it had more than 5 words, how could I just make it for one word?
ID:170847
![]() Dec 6 2004, 6:32 pm
|
|
How would I go about finding a word in a sentance?
mob That would do if a word had more than 5 letters, or if it had more than 5 words, how could I just make it for one word? |
I'm not quite sure what you're asking, but, if you're asking what I think you are, you would use findtext().
|
N1ghtW1ng wrote:
Hmm, I am looking for words greater than 5 letters though. So wouldn't length() be appropriate? Oh, so you're looking for ANY word greater than 5 letters? Well, in that case, you would have to use copytext() to divide it up word by word (Use spaces to locate words), and for each word, check if its length is greater than 5. |
~X