public static long fromAlpha1 ( String s ) { s = s . trim ( ) ; if ( s . isEmpty ( ) ) return 0 ; return fromAlpha ( s ) + 1 ; }
Parses a one - based alpha - index . An empty string will be parsed as zero .