Jump to content
Sign in to follow this  
aiter

_ArraySearch does not appear to work

Recommended Posts

aiter

I am trying to find a partial match in an array using _ArraySearch

I used this format :-

$i= _ArraySearch($aData,$find,0,1) ; not case sens, partial search

The partial search is not working even though I specified non case sensitive and  partial search as parameters

The array is 1 dimensional.

Am I doing something wrong?

 

Share this post


Link to post
Share on other sites
iamtheky

can you give us an example array, with an example search that fails?


,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.