@Nonnull
	public static String limit(@Nonnull String text, int max) {
		return limit(text, null, max);
	}
@Test
	void testLimit() {
		assertEquals("abcdefg", StringUtil.limit("abcdefg", 999));
		assertEquals("abc", StringUtil.limit("abcdefg", 3));
		assertEquals("", StringUtil.limit("abcdefg", 0));
		assertEquals("", StringUtil.limit("abcdefg", -1));
		assertEquals("abc...", StringUtil.limit("abcdefg", "...", 3));
	}