Hello everyone,
I have one string i need to remove ¨V⁄¶}⁄ »⁄·¤“O⁄ À⁄flƒQV⁄◊⁄fl in ¨V⁄¶}⁄ »⁄·¤“O⁄ À⁄flƒQV⁄◊⁄fl 245.10, but the problem i am facing is “, after »⁄·¤ there is double inverted comma, i am not able to perform the string manipulation, I have tried with String.Replace(char(34),string.Empty)
Can anyone help!!!
Thanks in advance,
Jyothi M B
Yoichi
(Yoichi)
January 8, 2020, 6:53am
2
Hi,
Can you attach a text file contains your string because this forum automatically convert some characters such as double quote to others?
Or Please use Preformatted text (Use </> on menu) .
Regards,
computation.txt (63 Bytes)
I need only 245.10
Yoichi
(Yoichi)
January 8, 2020, 7:03am
4
Hi,
jyothi_M.B:
I need only 245.10
Can you try Replace activity with the following settings.
Input: yourStrData
Pattern : "^.*?(?=\d)"
Replacement : ""
Result : yourStrData
Regards,
@jyothi_M.B use regex to get that value
\d.+
try that regex
indra
(Indra)
January 8, 2020, 7:05am
6
@jyothi_M.B Can you please clarify every time whether the format of 245.10 is same or different
indra
(Indra)
January 8, 2020, 7:08am
8
@jyothi_M.B Try this Regex and let me know
Yoichi
(Yoichi)
January 8, 2020, 7:18am
10
Hi,
Can you try the following?
Main.xaml (5.6 KB)
I’m glad if you could point my misunderstanding if there is.
Regards,
jyothi_M.B
(jyothi M.B)
January 8, 2020, 7:22am
11
Thanks Yoichi,
Its working fine but i getting error here
Yoichi
(Yoichi)
January 8, 2020, 7:25am
12
Can you share the error message? (Please hover mouse pointer on blue exclamation mark)
ImPratham45
(Prathamesh Patil)
January 8, 2020, 7:35am
14
For that
use
“»⁄·¤”+“”“”+“O⁄ "
so it will take “””" as " as string
Yoichi
(Yoichi)
January 8, 2020, 7:36am
15
Hi,
Still cannot see error message, but probably it’s caused by double quote character in your data.
You can solve it by one of the following
・Please add " before “O⁄ like as follows
"¨V⁄¶}⁄ »⁄·¤"“O⁄ À⁄flƒQV⁄◊⁄fl 245.10"
or
・Save the string to text file and read it using Read Text File activity.
Regards,
system
(system)
Closed
January 11, 2020, 7:50am
16
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.