string dataset & H5T_STR_NULLTERM


I write a string dataset with a C program.
The string length is 100 and 50 characters are written.
The 51th character is a null character.

Even if I know the string is null terminated, is there any hdf5 function
which returns a fortran compatible string ?

Until now, I scan the last null character in the string :
index = scan(string, "\0", back)
and I work with string(1:index).




This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to
To unsubscribe, send a message to