How to remove last 2 lines from a string
Can you try the following?
@Sweety_Girl An alternate method using String Manipulations would be :
String strArray; strArray = Split(str,Environment.NewLine) newStr = String.Join(Environment.NewLine,strArray.Take(strArray.Count-2))
Where str is your String value
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.