public static Optional < String > trimStart ( final String input ) { return Optional . ofNullable ( input ) . filter ( v -> ! v . isEmpty ( ) ) . map ( Strman :: leftTrim ) ; }
Removes leading whitespace from string .