Suppose you have the response data as follows, where Val is the string you want to capture, but issue is that the left boundary is changing every time. You get the left boundary as ACHPx=, where x ranges between 0 and 20, as follows:
ACHP1=Val;
ACHP2=Val;
ACHP3=Val;
'
'
'
ACHP9=Val;
You can capture the desired value by putting the following correlation function in place, using the /DIG text flag in combination with LB:
web_reg_save_param(“DynamicCapture”, “LB/DIG=ACHP#=”, “RB=;”, LAST);
The corresponding place, which you expect to be dynamically filled in with a digit, should be replaced by a pound sign ( # ).
If there are multiple digits, you have to put a pound sign (#) sing for each digit:
ACHP123=Val;
web_reg_save_param(“DynamicCapture”, “LB/DIG=ACHP###=”, “RB/IC=;”, LAST);
but my question is, If there is a combination of single and multiple digit how can I handle that?
ACHP1=Val;
ACHP2=Val;
ACHP3=Val;
'
'
'
ACHP20=Val;
Here single pound(#) will capture from ACHP1 to ACHP9 not the remaining. How to handle this situation?