private static int lengthOfMimeNames(String val){
  int len=val.indexOf(' ');
  if (len < 0)   len=val.length();
  return len;
}

private static int lengthOfMimeNames ( String val ) { int len = val . indexOf ( ' ' ) ; if ( len < 0 ) len = val . length ( ) ; return len ; }
get the length of the mime names within the property value
