For example...
I have my text (as, lets say, a varible)
Then I want it (somehow) to allow me to select a word, for example "name" and return me with each occurence as an array.Hello everyone, my name is a name and I was just hoping that you like it... obviously you probably don't. Oh well.
Code: Select all
Array (
[0] = "name",
[1] = "name"
)