TableSearch Function
dapion
Member, PRO Posts: 353
Hi,
I just try with the table search function.
The function itself works fine, but I get always shows the respective row number.
But the result should be the value(text) of the row.
Someone an idea?
Comments
Not sure the question...Is the question whether of not you can search for a string value? If so, yes, you can.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Excuse my english...
finally I have a table with 200> entries.
And from that I try to look for all words beginning with the "A".
From this search I would like to write all the results in another table with the value(text) found.
dapion.de
[https://twitter.com/dapionde?]
The search function will stop and find the first instance of that search. It's not going to find all of the words that begin with "a."
You're going to want to use this concept (see video) for what you're trying to do.
When you detect a word that begins with "a", write that word to a new table before the loop goes through another iteration.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Ok, that with the instance was for me not entirely clear.
I'll watch the video ...
Thanks for the tip
dapion.de
[https://twitter.com/dapionde?]