@ Nullable @ CheckReturnValue public static String trimLeadingWhitespaces ( @ Nullable final String s ) { final int n = getLeadingWhitespaceCount ( s ) ; return n == 0 ? s : s . substring ( n , s . length ( ) ) ; }
Remove any leading whitespaces from the passed string .