Help for this page

Select Code to Download


  1. or download this
    $str = '/a/b/c/d/e/abc00000';
    $end = (split '/', $str)[-1]; # pull the last element split() returns
    print "we wanted '$end'";
    
  2. or download this
    $"=$,,$_=q>|\p4<6 8p<M/_|<('=>
    .q>.<4-KI<l|2$<6%s!<qn#F<>;$,
    .=pack'N*',"@{[unpack'C*',$_]
    }"for split/</;$_=$,,y[A-Z a-z]
             {}cd;print lc