Re: Strings

HDF Folk:

If I have a attribute which is a 1D array of string, how, in general,
do I find out the length of each string in the array, so that I can
allocate space for it?

If I use H5Sget_simple_extent_ndims then I get the number of strings
in the array, but how do I get the length of each string?

Also, if I read it into a buffer, is each string null-terminated? Is
there some usual way to store an array of strings in C for HDF5 users?


Ed Hartnett  -- ed@xxxxxxxxxxxxxxxx