Help for this page

Select Code to Download


  1. or download this
      DB<100> $str = q!AND (random text) AND (more random text) AND (yet m
    +ore)!;
     => "AND (random text) AND (more random text) AND (yet more)"
    ...
    AND:  (random text) 
    AND:  (more random text) 
    AND:  (yet more)
    
  2. or download this
      DB<103> @matches = split /(AND|OR)/,$str
     => (
    ...
      "AND",
      " (yet more)",
    )