Hi I have a situation. While extracting data from email. For some email it is extracting as:
“-----------
Josh
Thanks”
and for some emails it is extracting as:
"
Josh
Thanks"
The main issue is the lines in the string. Sometimes it comes, sometimes it doesn’t. Can someone help me with it?
Anil_G
(Anil Gorthi)
2
@Umer_Shahid
You can try this say the string is stored in str
str.Replace("-","")
cheers
Srini84
(Srinivas Kadamati)
3
@Umer_Shahid
Use IF Activity and write condition as YourString.Contains("-")
Then
Place Assign activity and write as YourString = YourString.Replace("-","")
Hope this may help you
Thanks,
Srini
system
(system)
Closed
4
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.