code: public static String titleize(final String text, final String[] intCaps)
      {
          String str = text.toLowerCase(Locale.ENGLISH).replaceAll("[\\s_]+", SPACE).trim();
          return titleize(str, SPACE, intCaps);
      }
docs: <p>
  Converts the given text to title case smartly.
  </p>
  
  @param text
  Text to be converted
  @param intCaps
  An internal capitalized word list
  @return a nice styled title