thanks for response. it is text file so it does not contain any column. i already try Length-1 and Remove with LastIndexOf, not working…it only remove the last row only
Use Read Text file activity to read the text and will give you output as string and store it in a variable if type string and say ‘readText’. And then use following expression:
Hello @chakri for one liner code you can use below as well…
String.join(Environment.NewLine,(from x in str.Split(Environment.NewLine.ToCharArray,StringSplitOptions.RemoveEmptyEntries).ToList select y =Left(x.ToString,x.ToString.Length-1)))
thanks for wonderful reply. all solution replied working out well. for anyone see this question, you can download attached workflow from @jitendra_123 .