September 05, 2010, 01:31:50 AM
Pages: [1]
  Print  
Author Topic: Parsing Return Characters In HTML with Web_reg_save_param  (Read 88 times)
Admin
Administrator
Newbie
*****
Posts: 15


View Profile Email
« on: June 21, 2010, 11:47:49 AM »

If you have a return character you need to include in your left boundary (LB) or right boundary (RB) use "\r\n" in the string.
Code:
web_reg_save_param("sOrderTotal", "LB=ctl00_generated_css\">\r\n                $", "RB=</span></div>", LAST);

That string would be used to parse the dollar value out of the html below....

Code:
<div class="orderTotal">
        <div class="rowLbl">
            Total:</div>
        <div class="rowValue">
            <span id="ctl00_generated_css">
                $3,170.64</span></div>
        <div class="hibbityjibbity" >
        </div>
« Last Edit: June 21, 2010, 11:49:51 AM by Admin » Logged
Pages: [1]
  Print  
 
Jump to: