trimStringToWidth

public String trimStringToWidth(String string, Integer maxWidth, Boolean reverse)(source)