Jump to content

_ArraySearch() not finding an entry that has a signle quote in it


Recommended Posts

Anyone know why _ArraySearch is not finding an entry with a single quote in it?  

Here is an example:

#include <array.au3>

Dim $array[3][2]
$array[0][0] = "Testing is****fun"
$array[1][0] = "Don't mess with me kid"
$array[2][0] = "blah'blah"

_ArrayDisplay($array)

$index = _ArraySearch($array, "blah'blah", 0, 0, 0, 0, 1, 1)
MsgBox(262144, 'Debug line ~' & @ScriptLineNumber, 'Selection:' & @CRLF & '$index' & @CRLF & @CRLF & 'Return:' & @CRLF & $index) ;### Debug MSGBOX

Link to comment
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
 Share

×
×
  • Create New...