From: "Mattias A." Date: 2013-02-28T14:48:43+09:00 Subject: Match array1 with array2 Hi, I have array1 that contains several web address. Array2 contains the expected endings of array1 values. How can I control that arrays2 values are in array1? array1 = ["https://..../page.html, https://..../page1.html, https://..../page3.html] array2 = ["page.html", "page2.html", "page3.html", "page4.html"] A big thanks in advance! -- Posted via http://www.ruby-forum.com/.