Routines (alphabetical) > Routines: H > HDF5 Routines > H5T_STR_TO_VLEN

# H5T_STR_TO_VLEN

The H5T_STR_TO_VLEN function converts an IDL string array to an IDL_H5_VLEN array of strings.

This routine is written in the IDL language. Its source code can be found in the file `h5t_str_to_vlen.pro` in the `lib` subdirectory of the IDL distribution.

## Syntax

Result = H5T_STR_TO_VLEN(Array [, /NO_COPY])

## Return Value

Returns an array of named structures of type IDL_H5_VLEN, each with a single field PDATA containing a pointer to a scalar string.

## Arguments

### Array

A string array to be converted to an HDF5 variable length array.

## Keywords

### NO_COPY

Set this keyword to delete the contents of Array after creating the corresponding array of IDL_H5_VLEN structures. The default is to leave a copy of the data in Array.

## Version History

6.3 | Introduced

## See Also

H5T_VLEN_TO_STR, H5T_VLEN_CREATE