C++
ACDBCORE2D_PORT bool acdbFindField( const ACHAR * pszText, int iSearchFrom, int& nStartPos, int& nEndPos );
File
DbField.h
Description
This function can be used to extract the embedded fields in text. It can be called in a loop to extract all the fields in the text.
Returns true if a field is found; otherwise, returns false.
Parameters
Parameters | Description |
---|---|
pszText | Input pointer to the string in which to find fields |
iSearchFrom | Input index of the character in the text at which to start the search |
nStartPos | Output reference to receive the index at which the field begins; this will be -1 if there is no field found |
nEndPos | Output reference to receive the index at which the field ends; this will be -1 if there is no field found |