I have text file in that there are some unwanted lines i need to remove all these lines how can i do that. Can anyone help me please. this is screenshot of file
Here in the given screenshot above user id i should remove entire data.
I have text file in that there are some unwanted lines i need to remove all these lines how can i do that. Can anyone help me please. this is screenshot of file
Hi @sandhyareddy,
Try this, it will remove everything after the last instance of “SQL>”:
YourText = YourText.Split({"SQL>"},StringSplitOptions.None).Last
Hi @sandhyareddy ,
Please follow below step,
Thanks,
Hi @sandhyareddy
Can you please provide the text file, it will be helpful to solve.
If you want to remove the initial lines then try this
Read the data into a string variable str
Then use assign withstr = "USER_ID" + Str.Split({"USER_ID"},StringSplitOptions.None)(1)
Cheers