Extract the middle part of a text

Hi, I’m looking for a way to extract a part of a text and pass it to another variable. I know there is a function to extract either the left or the right part of a text.

  • Example:left("hello", 3) → "hel"

  • Example:right("hello", 2) → "lo"


What should I do if I want the result to be → “ell” or just "e”?