CPStrIndex (LabVIEW Manager Function)

PStr CPStrIndex(s1h, index);

Purpose

Returns a pointer to the Pascal string denoted by index in a list of strings. If index is greater than or equal to the number of strings in the list, this function returns the pointer to the last string.

Parameters

Name Type Description
s1h CPStrHandle Handle to a concatenated list of Pascal strings.
index int32 Number of the string you want, with 0 as the first string.

Return Value

A pointer to the specified Pascal string.