04-18-2008 8:18 AM
hi
can anyon explain me what is match offset and match length and where and why should we use.
thanks
alka
04-18-2008 8:25 AM
Hi Alka,
MATCH OFFSET
If the search string pattern is found in the search range, the addition MATCH OFFSET stores the offset of the last found location in relation to the data object dobj in the data object moff. If FIRST OCCURRENCE is used, this is the offset of the first found location.
.MATCH LENGTH
If the search string pattern is found in the search range, the addition MATCH LENGTH stores the length of the last found substring in the data object mlen. If using FIRST OCCURRENCE, this is the length of the first found location. For mlen, a variable of data type i is expected. If the search is not successful, mlen contains its previous value.
do rewards if usefull
vijay