Welcome to the forums
Instead of using the activity you can use VB .Net expression or Regex for this kind
Regex: -
Use If condition and write as YourString.StartsWith(“T”) and YourString.EndsWith(“E”)
Put your steps if true in then block, If false put your steps in Else block
Hope this may help you
Thanks,
Srini