ok I have an array with the following values:
the question how do i find if one of those entries contains the following string value as a a part of the entry:
but since multiple ones do match I only want to find the one closest to the search value. that is to say I would want to find "/usr/home/dexter/public_html/images/thumbs" is the result of the search.
This should be an easy question that I can solve but I've been coding all day and I'm fried so any help would be great