public static String firstNonNullOrBlank ( String ... strings ) { if ( strings == null || strings . length == 0 ) { return null ; } for ( String s : strings ) { if ( isNotNullOrBlank ( s ) ) { return s ; } } return null ; }
First non null or blank string .