indedOf function?

I have an AGI script that’s returning a list of numbers from a table and I need an indexOf() function. Does asterisk have something that will work like indexOf and if so what is the syntax?

Thanks!

Jason