
PRO
rz90208
USA
Asked
— Edited
Again I cannot see what I am doing wrong. Is this another bug or am I using the array incorrectly? This works
DefineArray($TestArray,2)
$SearchString = "aaaa"
$TestArray[1] = "<aaaa><bbbb><cccc>"
if($SearchString = SubString($TestArray[1],1,4))
Print("Correct")
endif
This Dont
if($SearchString = SubString($TestArray[1],1,IndexOf($TestArray[1],"><")))
Okay - i fixed it for next release. There was a goof in the regex
Thank you again DJ. My son tells me to start using JavaScript also, but I love using EZ-Script it is so EZ and powerful.
Thank you also ptp