code: public static String slug(String input, String separator) {
  		String slug = adaptSlug(input, separator);
  		return slug.toLowerCase(Locale.ENGLISH);
  	}
docs: Creates a slug (latin text with no whitespace or other symbols) for a longer text (i.e. to
  use in URLs).
  
  @param input
  text to generate the slug from
  @param separator
  separator for whitespace replacement
  @return the slug of the given text that contains alphanumeric symbols and separator only
  @since 1.0
  @see <a href="http://www.codecodex.com/wiki/Generate_a_url_slug">http://www.codecodex.com/wiki/Generate_a_url_slug</a>