Main.xaml (792.8 KB)
Hi friends,
Anyone help me to solve this error
material 365 id created
but I need only 365
Main.xaml (792.8 KB)
Hi friends,
Anyone help me to solve this error
material 365 id created
but I need only 365
str = “material 365 id created”
str.Tostring.split(" ".TocharArray)(1) - it will give you 365 only.
Why you are using startIndex method here.
Store output of Get Text activity in a string variable and say it ‘Str’.
Then split it like this: Str.Tostring.Split(" ".TocharArray)(1) - It will display 346 here.
Paste the output of Get Text activity here.
sorry bro the 346 is randomly created
it may be 240,350, something …
Here, you attached the screenshot na. In this case, it will display 346 here but not all cases.
The above expression will give you output in between “Material” and “Created”.
Have you tried above expression or not ?
Hi @Abubakkar,
Use an assign statement and the output is string
Regex.replace(“material 365 id created”,“[^0-9]”,“”)
So the above expression will only give numbers, because I have given condition whichever is not integer replace with empty.
Can you close the topic
i dont understand which means @anil5
Mark the post as solution whomever helped you
Main.xaml (1.4 MB)
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.