first of all, we don't need the "&" and ";" marks in the arrays, do we?
strip them of to save strokes.
then the script can be instead of:
code:
$AltAPos = ASCAN($CodeAlts, "&" + $Code + ";")
$Char = $Chars[IIF(-1 < $AltAPos, $AltAPos, 0)]

something like...

no, it's ascan that is case-insensitive...
let me think for a sec.
if skipping the setoption, ascan can't be used [Frown]
_________________________
!

download KiXnet