Consider an example list with mixed element types, e.g.:
list = { 1.234 , a[2] , {"Abc" , 4/5} , "acb" };
I would like to have a function that finds the position of a string, without regard to upper or lower characters, e.g.:
findPosition[list,"abc"]
{{3,1}}
Is there a function like that in Mathematica? Or maybe one can implement it with efficient performance?
EDIT:
My current workaround is:
findPosition[list_,str_]:=Position[list/.x_String:>ToLowerCase[x],ToLowerCase[str]]