Hello all! I have a string named text. I need to extract a substring from it starting by variable 's' and ending by 'e'. text[s:e] generates the following error: TypeError: slice indices must be integers or None How to be? :) Regards, Stanislav Yaglo.