public static String substringTrimmed( String str, int beginIndex ) {
		return substringTrimmed( str, beginIndex, str.length() );
	}
@Test
	void substringTrimmed() {
		testSubstringTrimmed( "", 0 );

		testSubstringTrimmed( "a", 0 );
		testSubstringTrimmed( "a", 1 );

		testSubstringTrimmed( "a  ", 0 );
		testSubstringTrimmed( "  a", 0 );
		testSubstringTrimmed( "  a  ", 0 );

		testSubstringTrimmed( "  a  ", 1 );

		testSubstringTrimmed( "  a  ", 0, 3 );
		testSubstringTrimmed( "  a  ", 1, 4 );
	}