code: private String
  sanitize(String str) {
  	if (wordcase == CASE_UPPER)
  		return str.toUpperCase();
  	else if (wordcase == CASE_LOWER)
  		return str.toLowerCase();
  	return str;
  }
docs: /* Converts a String to the correct case.