Check if a String variable begins or ends with the text contained in another String variable


I need to check if a string inside a variable starts or ends with a string contained in another variable.
As I see, I can use pre-defined text in all in the string actions (eg String Contains, Replace Text), but how can I use a variable instead of the predefined text?

@ashapkina could you help me with this?

Kind regards,

Yes, you can use variables instead of predefined text in the Text actions.