Help for this page

Select Code to Download


  1. or download this
    @elements = split /(?<=,)/, $text;
    
  2. or download this
    @elements = $text =~ /([^,]+,?)/g;