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
Hi
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
then
use a assign activity like this
str_decimal = Split(str_input.ToString,β.β)(1).ToString
Cheers @Sachingoudar
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
Then
Str_output = Split(str_input.ToString,β(β)(0).ToString.Trim
Cheers @Sachingoudar
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.