Jump to content

Recommended Posts

Posted (edited)

Hello, i am kind of a newbie. But not super.

I have an array that i need to search and need to get an array back with the places where the text is found.

i tried arraysearchplus but it only return the first results and it stops.

_ArraySearchPlus ($Title2, "General","" , "",0,3)

thanks any help is greatly appreciated

Edited by Hello12345
Posted

Put your array into an array variable $arrayOne. Then open a For loop to go through every array element looking for a match. When you find a match, use arrayadd to add one element to another array $arrayTwo: _arrayadd($arrayTwo,$arrayOne[$i])

...by the way, it's pronounced: "JIF"... Bob Berry --- inventor of the GIF format

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...