I don't allways want to return the word. I am using the RichText control and I want to be able to return an object with a .Value and .ForeColor. So I can change one words color or value. A function would not do that but An control Array would that's why I was looking at them.
>First of all, control arrays are not supported in VFP. If I understand correctly, you want to return the Nth word in the text depending on the parameter.
>
>Ex.: Text = "A long string goes here"
>Words[3].Value would return "string"
>
Charles
"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers