In Array


Simon Andersohn

3rd Party (Free)

113 downloads (last 90 days)

Download v1.5

EE Version Support

  • ExpressionEngine 2
  • ExpressionEngine 3
  • ExpressionEngine 4


If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher


  • jQuery for the Control Panel

Add-On Type(s)



Searches for a value within given pipe separated values. The delimiter can be specified to search within comma separated value or whatever you specify.

To use this plugin, enter the value to search for in the value parameter and pipe delimited values in the array parameter. Comma separated values (or any other separated values) can be searched by specifying the delimiter with the “delimiter” parameter.

{exp:in_array value=“3” array=“2|4|5|20”}

{exp:in_array value=“Cow” array=“The|Cow|Jumped|Over|The|Moon”}

Typical use:

`{if ‘{exp:in_array value=“2” array=“1|2|3”}’}
  We found your value

{if ‘{exp:in_array not=“4|5” array=“1|2|3”}’}
  We did not find your value

Tag Pair:

{exp:in_array:pair value=“2” array=“1|2|3”}
  {if no_results}Value not found{/if}
  We found your value

Alternative no_results

{exp:in_array:pair value=“2” array=“1|2|3”}
  {if in_array:no_results}Value not found{/if}
  We found your value

Available parameters:

value=“X” : The value to find in the array
not=“X” : The value not to find in the array
array=“1|2|3|4” : the values in the array to search
delimiter=”|” : change the default pipe delimiter e.g. delimiter=”,”
case_insensitive=“y” : make the search case insensitive

Download In Array

EE Support Downloads Add-On Version Release Date
Not Specified Download 1.5 Feb 12, 2016

In Array Links

This entry was created February 15, 2016, 10:53 am.
This entry was last updated April 22, 2020, 8:43 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at to initiate your return. If you have questions, email

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!