Help for this page

Select Code to Download


  1. or download this
    $str1 = "Some String";
    $str2 = 'Some String';
    if( $str1 eq $str2 ) { 
        print ">>$str1<< is identical to >>$str2<<\n"; 
    }
    
  2. or download this
    $str1 = "'Some String'"; 
    $str2 = '"Some String"';
    ...
    }
    ...
    >>'Some String' is different to >>"Some String"<<