public static int findIndexOf(String str,char search){
  return findIndexOf(str,search,search);
}

public static int findIndexOf ( String str , char search ) { return findIndexOf ( str , search , search ) ; }
find index of search character in str . this ignores content in ( ) and ' texts '
