For example, I wanted to read the value of the net change of a stock from moneycotrol.com and I tried to extract only the decimal value (but not the percentage) through Get Full Text activity but was not successfull. Can someone pls help me on this? Thanks
welcome to uipath community
we can get the full value like 457.35 with get text activity and later we can split the text with string manipulation method like this
if we have received the output from GET TEXT with a variable named str_input
use a assign activity like this
str_decimal = Split(str_input.ToString,".")(1).ToString
Thanks, @Palaniyappan but let me ask it in another way. Here I wanna extract only 2.70 but it’s picking up entire text i.e “2.70(0.59%)”. How do we resolve this?
Got it so in that case
If it’s obtained with variable named str_input
Str_output = Split(str_input.ToString,”(“)(0).ToString.Trim
Thank you @Palaniyappan. That resolved my issue.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.