2 Replies Latest reply on Jan 26, 2016 1:16 PM by Schmaltzkopf

    How can I loop through the Hebrew Alphabet?

    Schmaltzkopf Level 1

      Hi, there.

      I want to loop through the Hebrew Alphabet in two ways (separately):

      1. א..ב..ג..ד..ה..ו..ז..ח..ט..י..כ..ל..מ..נ..

      2. א..ב..ג..ד..ה..ו..ז..ח..ט..י..יא..יב..יג..יד..

      How can I do that?

       

      Any Help would be appreciated/

        • 1. Re: How can I loop through the Hebrew Alphabet?
          Trevorׅ Adobe Community Professional

          Many ways of doing it!

           

          Because of 2 factors that you didn't specify in your question 1) you probably don't need to go to a very high number and 2) because you probably want to include exceptions like for טז or רע etc.

          (The Hebrew numeric system is based on letter but some combinations spell word that are preferably not written so the order of the letters is changed)

           

           

          Make 2 1 dimensional array

          myList1 = ["a", "b", ........, "aa", "ab", "ac" ....]; // decimal based

          myList2 =["a", ... "k", 'l", ....]; // order based

           

          Loop trough the arrays.

           

          HTH

           

          Trevor

           

          P.s. you might find the following this helpful

           

          ammud = [":א.", "א:", "ב.", "ב:", "ג.", "ג:", "ד.", "ד:", "ה.", "ה:", "ו.", "ו:", "ז.", "ז:", "ח.", "ח:", "ט.", "ט:", "י.", "י:", "י״א.", "י״א:", "י״ב.", "י״ב:", "י״ג.", "י״ג:", "י״ד.", "י״ד:", "ט״ו.", "ט״ו:", "ט״ז.", "ט״ז:", "י״ז.", "י״ז:", "י״ח.", "י״ח:", "י״ט.", "י״ט:", "כ.", "כ:", "כ״א.", "כ״א:", "כ״ב.", "כ״ב:", "כ״ג.", "כ״ג:", "כ״ד.", "כ״ד:", "כ״ה.", "כ״ה:", "כ״ו.", "כ״ו:", "כ״ז.", "כ״ז:", "כ״ח.", "כ״ח:", "כ״ט.", "כ״ט:", "ל.", "ל:", "ל״א.", "ל״א:", "ל״ב.", "ל״ב:", "ל״ג.", "ל״ג:", "ל״ד.", "ל״ד:", "ל״ה.", "ל״ה:", "ל״ו.", "ל״ו:", "ל״ז.", "ל״ז:", "ל״ח.", "ל״ח:", "ל״ט.", "ל״ט:", "מ.", "מ:", "מ״א.", "מ״א:", "מ״ב.", "מ״ב:", "מ״ג.", "מ״ג:", "מ״ד.", "מ״ד:", "מ״ה.", "מ״ה:", "מ״ו.", "מ״ו:", "מ״ז.", "מ״ז:", "מ״ח.", "מ״ח:", "מ״ט.", "מ״ט:", "נ.", "נ:", "נ״א.", "נ״א:", "נ״ב.", "נ״ב:", "נ״ג.", "נ״ג:", "נ״ד.", "נ״ד:", "נ״ה.", "נ״ה:", "נ״ו.", "נ״ו:", "נ״ז.", "נ״ז:", "נ״ח.", "נ״ח:", "נ״ט.", "נ״ט:", "ס.", "ס:", "ס״א.", "ס״א:", "ס״ב.", "ס״ב:", "ס״ג.", "ס״ג:", "ס״ד.", "ס״ד:", "ס״ה.", "ס״ה:", "ס״ו.", "ס״ו:", "ס״ז.", "ס״ז:", "ס״ח.", "ס״ח:", "ס״ט.", "ס״ט:", "ע.", "ע:", "ע״א.", "ע״א:", "ע״ב.", "ע״ב:", "ע״ג.", "ע״ג:", "ע״ד.", "ע״ד:", "ע״ה.", "ע״ה:", "ע״ו.", "ע״ו:", "ע״ז.", "ע״ז:", "ע״ח.", "ע״ח:", "ע״ט.", "ע״ט:", "פ.", "פ:", "פ״א.", "פ״א:", "פ״ב.", "פ״ב:", "פ״ג.", "פ״ג:", "פ״ד.", "פ״ד:", "פ״ה.", "פ״ה:", "פ״ו.", "פ״ו:", "פ״ז.", "פ״ז:", "פ״ח.", "פ״ח:", "פ״ט.", "פ״ט:", "צ.", "צ:", "צ״א.", "צ״א:", "צ״ב.", "צ״ב:", "צ״ג.", "צ״ג:", "צ״ד.", "צ״ד:", "צ״ה.", "צ״ה:", "צ״ו.", "צ״ו:", "צ״ז.", "צ״ז:", "צ״ח.", "צ״ח:", "צ״ט.", "צ״ט:", "ק.", "ק:", "ק״א.", "ק״א:", "ק״ב.", "ק״ב:", "ק״ג.", "ק״ג:", "ק״ד.", "ק״ד:", "ק״ה.", "ק״ה:", "ק״ו.", "ק״ו:", "ק״ז.", "ק״ז:", "ק״ח.", "ק״ח:", "ק״ט.", "ק״ט:", "ק״י.", "ק״י:", "קי״א.", "קי״א:", "קי״ב.", "קי״ב:", "קי״ג.", "קי״ג:", "קי״ד.", "קי״ד:", "קט״ו.", "קט״ו:", "קט״ז.", "קט״ז:", "קי״ז.", "קי״ז:", "קי״ח.", "קי״ח:", "קי״ט.", "קי״ט:", "ק״כ.", "ק״כ:", "קכ״א.", "קכ״א:", "קכ״ב.", "קכ״ב:", "קכ״ג.", "קכ״ג:", "קכ״ד.", "קכ״ד:", "קכ״ה.", "קכ״ה:", "קכ״ו.", "קכ״ו:", "קכ״ז.", "קכ״ז:", "קכ״ח.", "קכ״ח:", "קכ״ט.", "קכ״ט:", "ק״ל.", "ק״ל:", "קל״א.", "קל״א:", "קל״ב.", "קל״ב:", "קל״ג.", "קל״ג:", "קל״ד.", "קל״ד:", "קל״ה.", "קל״ה:", "קל״ו.", "קל״ו:", "קל״ז.", "קל״ז:", "קל״ח.", "קל״ח:", "קל״ט.", "קל״ט:", "ק״מ.", "ק״מ:", "קמ״א.", "קמ״א:", "קמ״ב.", "קמ״ב:", "קמ״ג.", "קמ״ג:", "קמ״ד.", "קמ״ד:", "קמ״ה.", "קמ״ה:", "קמ״ו.", "קמ״ו:", "קמ״ז.", "קמ״ז:", "קמ״ח.", "קמ״ח:", "קמ״ט.", "קמ״ט:", "ק״נ.", "ק״נ:", "קנ״א.", "קנ״א:", "קנ״ב.",  "קנ״ב:", "קנ״ג.", "קנ״ג:", "קנ״ד.", "קנ״ד:"];
          
          • 2. Re: How can I loop through the Hebrew Alphabet?
            Schmaltzkopf Level 1

            Thank you.

            I was hoping that there is some sort of character code that I could use. I mean, InDesign figured out a way to number the pages in Hebrew, so they obviously realize that the letters go in that sequence, so I thought that those same letters are accessible in some way.

            (If not I would be glad to try your method)