how to split string variable
Eg: StringVariable=chethan001@gmail.com
I want only chethan
how to do that.
please help me, someone
Use split for given string say Split(Var,“@”)(0)
and then use \w regex for capturing only words
how to use \w regex how to use that
Use matches activity in that use “[a-zA-Z]” as pattern and then store result
for joining result use String.Join(“”,str)
Hello
Try this workflow using Regex Matches.
Main.xaml (5.2 KB)
With Regex - its always best to provide:
Sample
Output
Pattern
If you want to learn Regex - read my REGEX MEGAPOST
Thank you! very much.
sorry i get the solution its working its work when the numeric value in the string so i put that in try catch on that time its work thank you so much!
Sometimes a string needs to be cleaned - see my MEGAPOST on how to clean.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.