Sofei Teivos
Sofei Teivos (final letters of words) are one of the methods of Midrash that reveal an inner, hidden meaning in the letters of the Torah. This method of interpretation is less common than Rashei Teivos.
Unlike Rashei Teivos, which symbolize the beginning of the word, Chassidus explains that the content alluded to in Sofei Teivos is the result and the effect that is brought about through it[1].
Examples of Common Sofei Teivos
In Toras HaChassidus it is cited many times regarding the verse "Ani L'Dodi V'Dodi Li" (I am to my Beloved and my Beloved is to me) that it alludes to the avodah of the forty days from Rosh Chodesh Elul until Yom Kippur, as alluded to in the gematria of its final letters (four yuds, the numerical value of each of which in gematria is ten).
Other Sofei Teivos frequently cited in Chassidus are on the verse "Mi Ya'aleh Lanu HaShamaymah" (Who will go up for us to heaven), whose initial letters spell "Milah" (circumcision) and whose final letters spell the Name of Hashem.