UR script - str_find() error

Hi

I can’t use str_find(src, target, start_from=0) , program error str_find(src, target, start_from=0) not defined.

Hi pks,

if i write last parameter name explicitly:

i = str_find("hello hello!", "he", start_from = 0)

I get the error :

Type error: str_fin() got an unexpected keyword argument ‘start_from’

But if i run the command without parameter name it works just fine:

i = str_find("hello hello!", "he", 0)

gives me i=0, while

i = str_find("hello hello!", "he", 3)

gives i=6