title: Search array elements by index postgresql
body: <p>is it possible to somehow get elements from the postgresql array by index? I did not find anything sensible on the Internet on this issue. I have a table:</p>
  <pre><code>CREATE TABLE groups_timetable(id SMALLINT PRIMARY KEY, timetable VARCHAR(40)[]);
  
  INSERT INTO groups_timetable(id, timetable) VALUES(1, '{&quot;math, physical culture, programming&quot;, &quot;math, economic theory&quot;}');
  </code></pre>