You are here: C++ API > Classes > dtsSearchResults Class > urlDecode Method > dtsSearchResults::urlDecode Method (const char *, const char *)
dtsSearchResults::urlDecode Method (const char *, const char *)
Close
dtSearch Text Retrieval Engine Programmer's Reference
dtsSearchResults::urlDecode Method (const char *, const char *)
Syntax
C++
int urlDecode(const char * str, const char * indexPath);
Parameters
Description
const char * str
String containing a search results item encoded with urlEncode
const char * indexPath
Path to the index the item was found in

urlEncode generates a string encoding the contents of the currently selected item in search results. The string can be used in a subsequent call to urlDecode to re-create the search results item.