startswith+and+Endwith+activity+in+UIpath

startswith+and+Endwith+activity+in+UiPath.How to use StatsWith + EndWith Activity at the same time on UiPath

Hi @isaac.djiki-kouayep

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

1 Like

@isaac.djiki-kouayep

Welcome to the community

If you want to use both using text to left/right can be used sequencially…and once give the left text then give the right text

If you want you can use split like this as well

Str.Split({"first","second"},3,Stringsplitoptions.None)(1)

Cheers

Hi Srini and Everyone,
First of all i want to apologise for my rudeness by asking the question.And also want to Thxs for the fast Solution.It work .
Thanxs
Isaac

Hi Everyone,
Isit possible hier in UiPath to use the Elif case on the Else place or something like that i could change the condition.
Thanks
Isaac

You can do the same by using the IF activity and in Else you can place IF again

Also you can try as inline also, below link for your reference

Hope this may help you

If this resolves your issue click on Mark as Solution so that it will helpful for others as well

Thanks,
Srini

@isaac.djiki-kouayep

There is an else if activity…please search in activities

https://docs.uipath.com/activities/other/latest/workflow/if-else-if#

Cheers