A Function to find the string having the minimum length and returns that length
static int findMinLength ( String [ ] arr , int n ) { int min = arr [ 0 ] . Length ; for ( int i = 1 ; i < n ; i ++ ) { if ( arr [ i ] . Length < min ) { min = arr [ i ] . Length ; } } return ( min ) ; }