aiter Posted July 25, 2016 Posted July 25, 2016 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?
aiter Posted July 25, 2016 Author Posted July 25, 2016 I omitted start and end parameters. $i= _ArraySearch($aData,$find,0,0,0,1) This works.
iamtheky Posted July 25, 2016 Posted July 25, 2016 can you give us an example array, with an example search that fails? ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__)
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now