question: public static String trimLeadingWhitespace ( String str ) { if ( ! hasLength ( str ) ) { return str ; } StringBuilder sb = new StringBuilder ( str ) ; while ( sb . length ( ) > 0 && Character . isWhitespace ( sb . charAt ( 0 ) ) ) { sb . deleteCharAt ( 0 ) ; } return sb . toString ( ) ; }
target:  Trim leading whitespace from the given String.