visad/src/main/java/ucar/nc2/iosp/gempak/GempakFileReader.java
public String DM_RSTR(int isword, int nchar) throws IOException {
    if (rf == null) {
      throw new IOException("DM_RSTR: no file to read from");
    }
    rf.seek(getOffset(isword));
    return rf.readString(nchar);
  }
public String DM_RSTR(int isword, int nchar) throws IOException {
    if (rf == null) {
      throw new IOException("DM_RSTR: no file to read from");
    }
    rf.seek(getOffset(isword));
    return rf.readString(nchar);
  }
public String DM_RSTR ( int isword , int nchar ) throws IOException { if ( rf == null ) { throw new IOException ( "DM_RSTR: no file to read from" ) ; } rf . seek ( getOffset ( isword ) ) ; return rf . readString ( nchar ) ; }
Read a String

@param isword offset in file (1 based FORTRAN word)
@param nchar  number of characters to read
@return String read
@throws IOException problem reading file
Read a String