Help for this page

Select Code to Download


  1. or download this
      DB<107> $str=join ",",@captures 
     => "http://abc.org,http://de,f.org,https://ghi.org"
    ...
    
      DB<110> split /,(?=https?:)/,$str,3
     => ("http://abc.org", "http://de,f.org", "https://ghi.org")
    
  2. or download this
      DB<122> $n=1
     => 1
    ...
    
      DB<125> @array[0..$n-1] = split /,(?=https?:)/ , $str , $n+1
     => ("http://abc.org", "http://de,f.org")