User Guide

768 Chapter 4: ColdFusion C++ CFX Reference
Returns
Returns the string located at the passed index.
Parameters
Example
The following example demonstrates GetString with CCFXStringSet::GetCount to iterate over
a string set and write the contents of a list back to the user:
int nNumItems = pStringSet->GetCount() ;
for ( int i=1; i<=nNumItems; i++ )
{
pRequest->Write( pStringSet->GetString( i ) ) ;
pRequest->Write( "<BR>" ) ;
}
Parameter Description
iIndex Index of string to retrieve