public static void parseAuxInfo(String aux, long[] numbers) {
        aux = aux.substring(aux.indexOf("/N:") + 3);
        String numberStringAux = aux.substring(0, aux.indexOf('/'));
        int i = 1;
        for (String numberString : numberStringAux.split("[,;]"))
            numbers[Integer.valueOf(numberString) - 1] = i++;
    }
public static void parseAuxInfo ( String aux , long [ ] numbers ) { aux = aux . substring ( aux . indexOf ( "/N:" ) + 3 ) ; String numberStringAux = aux . substring ( 0 , aux . indexOf ( '/' ) ) ; int i = 1 ; for ( String numberString : numberStringAux . split ( "[,;]" ) ) numbers [ Integer . valueOf ( numberString ) - 1 ] = i ++ ; }
Parse the atom numbering from the auxinfo.

@param aux InChI AuxInfo
@param numbers the atom numbers