I have the following text:
I want to extract separately:
And:
I used:
Split(information, “-----------------------------------------”)(2).ToString
But it generated:
I dont want the last text.
Thank You
Please Advice
I have the following text:
I want to extract separately:
And:
I used:
Split(information, “-----------------------------------------”)(2).ToString
But it generated:
I dont want the last text.
Thank You
Please Advice
You can place a break point and check the values you are getting
As you used the index as (2), instead use (1), you are getting the result correctly
Thanks
Replace Outbound Flight Information text with empty.
output = input.Replace("Outbound Flight Information","")
Hi
you are almost done
for first part use this in assign activity
str_part1 = Split(Split(information, “Inbound Flight Information”)(1).ToString),“Outbound Flight Information”)(0).ToString.Replace(“-----------------------------------------”,“”)
and for second part like this
str_part2 = Split(Split(information, “Inbound Flight Information”)(1).ToString),“Outbound Flight Information”)(1).ToString.Replace(“-----------------------------------------”,“”)
Cheers @Hurmet_Noka
Thank You So Much!
Respect
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.