public static String stripTrailingBlanks(final String string) {
    //// Preconditons
    if (string == null)
      throw new InvalidParameterException("string cannot be null");
    
    return stripTrailing(string, ' ');
  }