Help for this page

Select Code to Download


  1. or download this
      DB<1> $string = '<Answer type="string">ServerName.FD.net.org</Answer
    +>';
    
    ...
    3  '/Answer'
      DB<4> print $fields[2];   # outputting the server name
    ServerName.FD.net.org
    
  2. or download this
      DB<1> $string = '<Answer type="string">ServerName.FD.net.org</Answer
    +>';
    
    ...
    
      DB<3> print $name;
    ServerName.FD.net.org