Help for this page

Select Code to Download


  1. or download this
    $str = "this is a string";
    @str = split /\s/, $str;
    print pop(@str);
    
  2. or download this
    print pop(split(/\s/, $str));