<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://hotline.ubersoft.org/Sputnik/wiki/skins/common/feed.css?301"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
		<id>http://hotline.ubersoft.org/Sputnik/wiki/index.php?action=history&amp;feed=atom&amp;title=Core_Function_LastIndexOfValueAny</id>
		<title>Core Function LastIndexOfValueAny - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://hotline.ubersoft.org/Sputnik/wiki/index.php?action=history&amp;feed=atom&amp;title=Core_Function_LastIndexOfValueAny"/>
		<link rel="alternate" type="text/html" href="http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_LastIndexOfValueAny&amp;action=history"/>
		<updated>2026-04-05T17:19:38Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.17.0</generator>

	<entry>
		<id>http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_LastIndexOfValueAny&amp;diff=4710&amp;oldid=prev</id>
		<title>UberFoX: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_LastIndexOfValueAny&amp;diff=4710&amp;oldid=prev"/>
				<updated>2015-06-14T12:37:28Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 12:37, 14 June 2015&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>UberFoX</name></author>	</entry>

	<entry>
		<id>http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_LastIndexOfValueAny&amp;diff=4709&amp;oldid=prev</id>
		<title>UberFoX: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_LastIndexOfValueAny&amp;diff=4709&amp;oldid=prev"/>
				<updated>2014-08-11T21:41:02Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 21:41, 11 August 2014&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>UberFoX</name></author>	</entry>

	<entry>
		<id>http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_LastIndexOfValueAny&amp;diff=2768&amp;oldid=prev</id>
		<title>UberFoX: Created page with &quot;&lt;pre&gt; LastIndexOfValueAny( &lt;array&gt;, &lt;needle&gt;, &lt;strict&gt;, &lt;ignoreCase&gt;, &lt;skipStringKeys&gt; ) &lt;/pre&gt;  === Description ===  Checks if a value (from an array of values) exists in an arr...&quot;</title>
		<link rel="alternate" type="text/html" href="http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_LastIndexOfValueAny&amp;diff=2768&amp;oldid=prev"/>
				<updated>2013-08-31T09:27:19Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;pre&amp;gt; LastIndexOfValueAny( &amp;lt;array&amp;gt;, &amp;lt;needle&amp;gt;, &amp;lt;strict&amp;gt;, &amp;lt;ignoreCase&amp;gt;, &amp;lt;skipStringKeys&amp;gt; ) &amp;lt;/pre&amp;gt;  === Description ===  Checks if a value (from an array of values) exists in an arr...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
LastIndexOfValueAny( &amp;lt;array&amp;gt;, &amp;lt;needle&amp;gt;, &amp;lt;strict&amp;gt;, &amp;lt;ignoreCase&amp;gt;, &amp;lt;skipStringKeys&amp;gt; )&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
&lt;br /&gt;
Checks if a value (from an array of values) exists in an array and returns the index of the last occurrence of the value (from the value array).&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
&lt;br /&gt;
==== array ====&lt;br /&gt;
&lt;br /&gt;
The array to use.&lt;br /&gt;
&lt;br /&gt;
==== needle ====&lt;br /&gt;
&lt;br /&gt;
An array to search for its values.&lt;br /&gt;
&lt;br /&gt;
==== strict ====&lt;br /&gt;
&lt;br /&gt;
Optional; If true the the array value and the needle must be same TYPE such as both Int32s.&lt;br /&gt;
&lt;br /&gt;
Note - If &amp;quot;strict&amp;quot; is true when the needle is a Regex then it will require all the values to be STRING or else it will not match.&lt;br /&gt;
&lt;br /&gt;
Default: false&lt;br /&gt;
&lt;br /&gt;
==== ignoreCase ====&lt;br /&gt;
&lt;br /&gt;
Optional; Flag to choose if the search will be case sensitive or case insensitive&lt;br /&gt;
&lt;br /&gt;
True: Ignore case and match with case insensitivity&lt;br /&gt;
&lt;br /&gt;
False: Case must be an exact match&lt;br /&gt;
&lt;br /&gt;
Default: false&lt;br /&gt;
&lt;br /&gt;
==== skipStringKeys ====&lt;br /&gt;
&lt;br /&gt;
Optional; Flag to choose if the search will ignore all keys in the array that are not numeric&lt;br /&gt;
&lt;br /&gt;
True: Ignore all non-numeric keys such as &amp;quot;Cat&amp;quot; and &amp;quot;Dog&amp;quot; but match with keys like 0 1 2 3 4&lt;br /&gt;
&lt;br /&gt;
False: Match all keys regardless of what they are made of&lt;br /&gt;
&lt;br /&gt;
-1: Match only non-numeric keys and nothing else such as only match &amp;quot;Cat&amp;quot; and &amp;quot;Dog&amp;quot; but not numbers like 0 1 2 3 4&lt;br /&gt;
&lt;br /&gt;
Default: false&lt;br /&gt;
&lt;br /&gt;
=== Return Value ===&lt;br /&gt;
&lt;br /&gt;
Success: Returns integer index if the last occurrence of the value (from an array of values) was located in the array section or a string of the index key if the last occurrence of the value (from an array of values) was found in the dictionary section.&lt;br /&gt;
&lt;br /&gt;
Failure: Returns null (It has to return null since it is the only way to make sure that even every possible key match was invalid).&lt;br /&gt;
&lt;br /&gt;
=== Remarks ===&lt;br /&gt;
&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sputnik&amp;quot;&amp;gt;&lt;br /&gt;
my $arr = array(&amp;quot;One&amp;quot;, &amp;quot;Two&amp;quot;, &amp;quot;Three&amp;quot;, &amp;quot;Four&amp;quot;, &amp;quot;One&amp;quot;);&lt;br /&gt;
 &lt;br /&gt;
$pos = LastIndexOfValueAny($arr, array(&amp;quot;One&amp;quot;, &amp;quot;Two&amp;quot;));&lt;br /&gt;
say &amp;quot;Positon is: $pos&amp;quot;; // 4&lt;br /&gt;
&lt;br /&gt;
my $arr = array(&amp;quot;One&amp;quot; =&amp;gt; &amp;quot;Cat&amp;quot;, &amp;quot;Two&amp;quot; =&amp;gt; &amp;quot;Dog&amp;quot;, &amp;quot;Three&amp;quot; =&amp;gt; &amp;quot;Sheep&amp;quot;);&lt;br /&gt;
 &lt;br /&gt;
$pos = LastIndexOfValueAny($arr, array(&amp;quot;Dog&amp;quot;, &amp;quot;Two&amp;quot;));&lt;br /&gt;
say &amp;quot;Positon is: $pos&amp;quot;; // Two&lt;br /&gt;
&lt;br /&gt;
$pos = LastIndexOfValueAny($arr, array(&amp;quot;Sheep&amp;quot;, &amp;quot;Two&amp;quot;));&lt;br /&gt;
say &amp;quot;Positon is: $pos&amp;quot;; // Three&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Core Function]]&lt;/div&gt;</summary>
		<author><name>UberFoX</name></author>	</entry>

	</feed>