Get partial characters of a filename into getstring dialong box

Ok the default script got me going. Thanks for that.

Now I'm running into a error trying parse a string:

   ***Object doesn't support this property or method (0x800a01b6)***

I found this four year Old Forum Post that outlines this. I'm wondering if indexof still isn't naively supported?

Trying to find the first "." in the string:

	var testme = "hello.22.22";
	DOpus.Output(testme.indexof(".",1));