public static String substringTrimmed( String str, int beginIndex ) {
		return substringTrimmed( str, beginIndex, str.length() );
	}
This is equal to {@code str.substring( beginIndex, endIndex ).trim()},
but avoids temporary untrimmed substring allocation.
If the trimmed string is empty, a shared empty string is returned.

@since 2
flatlaf-core/src/main/java/com/formdev/flatlaf/util/StringUtils.java