Extract a part of the text from the item.
[Visual Basic] Function Extract( _ ByVal p_nStart As Integer, _ ByVal p_nLength As Integer, _ ByVal p_bAddMissingCodes As Boolean _ ) As IFilterItem [C#] IFilterItem Extract( int p_nStart, int p_nLength, bool p_bAddMissingCodes ); [C++] IFilterItem* Extract( int p_nStart, int p_nLength, bool p_bAddMissingCodes ); [JScript] function Extract( int p_nStart, int p_nLength, bool p_bAddMissingCodes ): IFilterItem;
The new filter item containing a copy of the original one, with only the part of text to extract.
Use this method to split a filter item. The inline codes in both the original item and the returned item are adjusted as needed. If the p_nStart is out of bounds, or if p_nLength is invalid the method returns null.
IFilterItem Interface | Okapi.Library.Filter Namespace